mirror of
https://github.com/Cute-Dress/Dress.git
synced 2024-11-27 23:55:04 +08:00
ci: fix: /fast-forward
triggered by non-maintainers
This commit is contained in:
parent
ca9919a19b
commit
8b4a2dd840
5
.github/workflows/fast-forward.yml
vendored
5
.github/workflows/fast-forward.yml
vendored
@ -25,7 +25,10 @@ jobs:
|
|||||||
require: write
|
require: write
|
||||||
|
|
||||||
- name: Fast forwarding
|
- 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
|
uses: sequoia-pgp/fast-forward@v1
|
||||||
with:
|
with:
|
||||||
merge: true
|
merge: true
|
||||||
|
Loading…
Reference in New Issue
Block a user