From 2e6a235812f94c4065705a8f68eefa0654eb9822 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 1 Nov 2023 19:29:53 +0000 Subject: [PATCH] Build/Test Tools: Increase the number of retries when restarting a workflow. This increases the number of times to retry restarting a workflow from 10 to 15, and the `timeout-minutes` value to `30`. For workflows with complex strategy matrix, the exponential backoff of 10 retries is still not enough to account for the GitHub Actions UI taking a long time to catch up. Follow up to [56829] and [56830]. See #58867. git-svn-id: https://develop.svn.wordpress.org/trunk@57052 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/failed-workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/failed-workflow.yml b/.github/workflows/failed-workflow.yml index f92d4b8102..3dd781cbd0 100644 --- a/.github/workflows/failed-workflow.yml +++ b/.github/workflows/failed-workflow.yml @@ -26,13 +26,13 @@ jobs: runs-on: ubuntu-latest permissions: actions: write - timeout-minutes: 20 + timeout-minutes: 30 steps: - name: Rerun a workflow uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 with: - retries: 10 + retries: 15 retry-exempt-status-codes: 418 script: | const workflow_run = await github.rest.actions.getWorkflowRun({