From 04fefdd728f6e888ff85a978a5495ce445a93740 Mon Sep 17 00:00:00 2001 From: Joachim Breitner Date: Fri, 5 Jul 2024 21:50:14 +0200 Subject: [PATCH] chore: restart-on-label: wait for 30s (#4663) this doesn't work reliable when it cancels jobs. Maybe sleeping helps. --- .github/workflows/restart-on-label.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/restart-on-label.yml b/.github/workflows/restart-on-label.yml index 4d9f67da25..7528c2b340 100644 --- a/.github/workflows/restart-on-label.yml +++ b/.github/workflows/restart-on-label.yml @@ -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"