Skip to content

Commit b71dd45

Browse files
committed
fixup! address comment. Re-running does not use the delay anymore
1 parent 4269329 commit b71dd45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/all-green.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: wechuli/allcheckspassed@b0eaef5be76003932c9520e2b3dd03c85cc43d87 # v2.2.0
2323
with:
24-
delay: '6' # Wait for 6 minutes before polling for the first time
24+
delay: ${{ github.run_attempt == 1 && '6' || '0' }} # 6m on first attempt, no delay on reruns
2525
retries: 30 # once per minute, some checks take up to 15 min, retries are possible
2626
checks_exclude: devflow.*
2727
fail_fast: false

0 commit comments

Comments
 (0)