Skip to content

Commit 5427aa2

Browse files
authored
ci: fix profile workflow race with build-system check (#105)
Upgrade wait-on-check-action to v1.6.0 and add checks-discovery-timeout so it waits up to 5 minutes for build-system to appear instead of immediately failing when the check doesn't exist yet.
1 parent d93e949 commit 5427aa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/profile.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ jobs:
2020
- uses: actions/checkout@v4
2121

2222
- name: wait for build
23-
uses: lewagon/wait-on-check-action@v1.3.4
23+
uses: lewagon/wait-on-check-action@v1.6.0
2424
with:
2525
ref: ${{ env.SHA }}
2626
check-name: build-system
2727
repo-token: ${{ secrets.GITHUB_TOKEN }}
2828
allowed-conclusions: success
2929
wait-interval: 20
30+
checks-discovery-timeout: 300
3031

3132
- name: get build run ID
3233
id: get_run_id

0 commit comments

Comments
 (0)