Skip to content

Commit 17390ab

Browse files
committed
debugging
1 parent 8b34e6d commit 17390ab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pr-supervisor.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@ jobs:
3737
for ((i=1;i<=MAX_ATTEMPTS;i++)); do
3838
echo "Polling PR checks (attempt $i/$MAX_ATTEMPTS)..."
3939
# We want to watch for pending checks beside this check
40+
echo "Raw checks:"
41+
gh pr checks $PR_NUMBER --json name,state
4042
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 .
4146
4247
pending=$(echo "$checks" | jq '[.[] | select(.state == "pending")] | length')
4348
skipping=$(echo "$checks" | jq '[.[] | select(.state == "skipping")] | length')

0 commit comments

Comments
 (0)