Skip to content

Commit 9d2a399

Browse files
authored
ci: tweak automated docs PR merging (#896)
* ci: tweak automated docs PR merging * ci: fail fast when watching PRs
1 parent e4429fc commit 9d2a399

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/update-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,7 @@ jobs:
6969
env:
7070
GITHUB_TOKEN: ${{ steps.generate-token-approver.outputs.token }}
7171
run: |
72+
set -eo pipefail
7273
gh pr review "docs/update-to-${SHA}" --approve
73-
gh pr merge "docs/update-to-${SHA}" --auto --squash
74+
gh pr checks "docs/update-to-${SHA}" --watch --fail-fast
75+
gh pr merge "docs/update-to-${SHA}" --squash

0 commit comments

Comments
 (0)