Skip to content

Commit 9cdafa1

Browse files
committed
[ci] Adds sleep 60s to release action.
As suggested in #137299: * Adds a 1 minute sleep to our `release.yml` workflow so LUCI checks have time to be populated through the GitHub Webhooks, before attempting to look at them. This will make the `release` action a little bit slower, but hopefully much more reliable.
1 parent e234425 commit 9cdafa1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ jobs:
4343
run: dart pub get
4444
working-directory: ${{ github.workspace }}/script/tool
4545

46+
# Give some time for LUCI checks to start becoming populated.
47+
# Because of latency in Github Webhooks, we need to wait for a while
48+
# before being able to look at checks scheduled by LUCI.
49+
- name: Give webhooks a minute
50+
run: sleep 60s
51+
shell: bash
52+
4653
# The next step waits for all tests, but when there are issues with the
4754
# hooks it can take a long time for the tests to even be registered. If
4855
# "Wait on all tests" runs before that happens, it will pass immediately

0 commit comments

Comments
 (0)