ci: fix: /fast-forward triggered by non-maintainers

This commit is contained in:
LY 2024-01-01 15:11:13 +08:00 committed by CuteDress
parent ca9919a19b
commit 8b4a2dd840

View File

@ -25,7 +25,10 @@ jobs:
require: write
- name: Fast forwarding
if: steps.check-perm.outputs.require-result
if: steps.check-perm.outputs.require-result == 'true'
# As GitHub actions use actor's permission, it's not possible
# for anyone without write permission to perform a merge.
# This check is merely for skipping it silently.
uses: sequoia-pgp/fast-forward@v1
with:
merge: true