Skip to content

Commit 54699bd

Browse files
committed
corrected name
1 parent c992ea2 commit 54699bd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pr-supervisor.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ jobs:
4040
4141
# We want to watch for pending checks beside this check
4242
checks=$(gh pr checks $PR_NUMBER --json name,state --jq '[ .[] | select(.name != "yamato-supervisor") ]')
43-
debugChecks=$(gh pr checks $PR_NUMBER --json name,state)
44-
echo "$debugChecks" | jq .
43+
echo "$checks" | jq .
4544
46-
pending=$(echo "$checks" | jq '[.[] | select(.state == "IN_PROGRESS")] | length')
45+
pending=$(echo "$checks" | jq '[.[] | select(.state == "PENDING")] | length')
4746
skipping=$(echo "$checks" | jq '[.[] | select(.state == "SKIPPED")] | length')
4847
passed=$(echo "$checks" | jq '[.[] | select(.state == "SUCCESS")] | length')
4948
failed=$(echo "$checks" | jq '[.[] | select(.state == "FAILURE")] | length')

0 commit comments

Comments
 (0)