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 c992ea2 commit 54699bdCopy full SHA for 54699bd
.github/workflows/pr-supervisor.yaml
@@ -40,10 +40,9 @@ jobs:
40
41
# We want to watch for pending checks beside this check
42
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 .
+ echo "$checks" | jq .
45
46
- pending=$(echo "$checks" | jq '[.[] | select(.state == "IN_PROGRESS")] | length')
+ pending=$(echo "$checks" | jq '[.[] | select(.state == "PENDING")] | length')
47
skipping=$(echo "$checks" | jq '[.[] | select(.state == "SKIPPED")] | length')
48
passed=$(echo "$checks" | jq '[.[] | select(.state == "SUCCESS")] | length')
49
failed=$(echo "$checks" | jq '[.[] | select(.state == "FAILURE")] | length')
0 commit comments