Skip to content

Commit 8865686

Browse files
committed
fix: adjust conditions in Check Merge Fast-Forward Only action
1 parent 90ced24 commit 8865686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/merge-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
git fetch origin master:master
2929
git checkout master
30-
if [ "${{ github.event_name }}" == "pull_request" ]; then
30+
if [[ "${{ github.event_name }}" == "pull_request"* ]]; then
3131
git merge --ff-only ${{ github.event.pull_request.head.sha }}
3232
else
3333
git merge --ff-only ${{ github.sha }}

0 commit comments

Comments
 (0)