Skip to content

Commit 3b5b43c

Browse files
authored
Merge pull request #4838 from OAI/main-sync-pr-wait-for-status-check
main: sync PRs for vX.Y-dev now wait for required status checks to finish before merging
2 parents 139c3e5 + e7ddef5 commit 3b5b43c

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
@@ -46,6 +46,9 @@ jobs:
4646
--label "Housekeeping" \
4747
--title "$BASE: update from $HEAD" \
4848
--body "Merge \`$HEAD\` into \`$BASE\`.")
49+
echo "PR to sync $DEV_BRANCH: $PR"
50+
51+
gh pr checks $PR --watch --required || continue
4952
gh pr merge $PR --merge --admin
5053
done
5154
env:

0 commit comments

Comments
 (0)