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 8b34e6d commit 17390abCopy full SHA for 17390ab
.github/workflows/pr-supervisor.yaml
@@ -37,7 +37,12 @@ jobs:
37
for ((i=1;i<=MAX_ATTEMPTS;i++)); do
38
echo "Polling PR checks (attempt $i/$MAX_ATTEMPTS)..."
39
# We want to watch for pending checks beside this check
40
+ echo "Raw checks:"
41
+ gh pr checks $PR_NUMBER --json name,state
42
checks=$(gh pr checks $PR_NUMBER --json name,state --jq '[ .[] | select(.name != "yamato-supervisor") ]')
43
+
44
+ checks=$(gh pr checks $PR_NUMBER --json name,state)
45
+ echo "$checks" | jq .
46
47
pending=$(echo "$checks" | jq '[.[] | select(.state == "pending")] | length')
48
skipping=$(echo "$checks" | jq '[.[] | select(.state == "skipping")] | length')
0 commit comments