Skip to content

Commit d1b97b9

Browse files
committed
removed debugging
1 parent 283f0fd commit d1b97b9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/pr-supervisor.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,17 @@ jobs:
2929
PR_NUMBER: ${{ github.event.pull_request.number }}
3030
run: |
3131
set -e
32-
sleep 30
32+
3333
3434
MAX_ATTEMPTS=$((12*60))
3535
INTERVAL=60
3636
37+
sleep $INTERVAL
3738
for ((i=1;i<=MAX_ATTEMPTS;i++)); do
3839
echo "Polling PR checks (attempt $i/$MAX_ATTEMPTS)..."
40+
3941
# We want to watch for pending checks beside this check
40-
echo "Raw checks:"
41-
gh pr checks $PR_NUMBER --json name,state
4242
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 .
4643
4744
pending=$(echo "$checks" | jq '[.[] | select(.state == "IN_PROGRESS")] | length')
4845
skipping=$(echo "$checks" | jq '[.[] | select(.state == "SKIPPED")] | length')

0 commit comments

Comments
 (0)