chore: restart-on-label: wait for 30s (#4663)
this doesn't work reliable when it cancels jobs. Maybe sleeping helps.
This commit is contained in:
parent
75fe520562
commit
04fefdd728
1 changed files with 2 additions and 2 deletions
4
.github/workflows/restart-on-label.yml
vendored
4
.github/workflows/restart-on-label.yml
vendored
|
|
@ -20,8 +20,8 @@ jobs:
|
|||
gh run view "$run_id"
|
||||
echo "Cancelling (just in case)"
|
||||
gh run cancel "$run_id" || echo "(failed)"
|
||||
echo "Waiting for 10s"
|
||||
sleep 10
|
||||
echo "Waiting for 30s"
|
||||
sleep 30
|
||||
gh run view "$run_id"
|
||||
echo "Rerunning"
|
||||
gh run rerun "$run_id"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue