Skip to content

Commit 40fd081

Browse files
committed
wait for status checks to finish before attempting to merge
allow manual triggering
1 parent dd19e3f commit 40fd081

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/sync-dev-to-vX.Y-dev.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ name: sync-dev-to-vX.Y-dev
88

99
# run this on push to dev
1010
on:
11+
workflow_dispatch: {} # for testing only
1112
push:
1213
branches:
1314
- dev
@@ -46,6 +47,8 @@ jobs:
4647
--label "Housekeeping" \
4748
--title "$BASE: update from $HEAD" \
4849
--body "Merge \`$HEAD\` into \`$BASE\`.")
50+
51+
gh pr checks $PR --fail-fast --watch
4952
gh pr merge $PR --merge --admin
5053
done
5154
env:

0 commit comments

Comments
 (0)