We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e0126b commit d561914Copy full SHA for d561914
.cmux/scripts/wait_pr_checks
@@ -0,0 +1,7 @@
1
+#!/usr/bin/env bash
2
+# Description: Wait for PR checks to pass on GitHub. Use this after pushing changes to origin, to catch CI failures. Accepts no arguments.
3
+set -euo pipefail
4
+
5
+BRANCH=$(git branch --show-current)
6
+NUMBER=$(gh pr list --head "$BRANCH" --json number | jq -cr '.[0].number')
7
+./scripts/wait_pr_checks.sh "$NUMBER"
0 commit comments