diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 79c6b9f114..b0f83a6154 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -190,8 +190,11 @@ jobs: steps: - name: Dispatch workflow run - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ owner: context.repo.owner, diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index 0672642f7e..b5e7f15c03 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -146,8 +146,11 @@ jobs: steps: - name: Dispatch workflow run - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ owner: context.repo.owner, diff --git a/.github/workflows/failed-workflow.yml b/.github/workflows/failed-workflow.yml index 17944efc5c..f9719e5adb 100644 --- a/.github/workflows/failed-workflow.yml +++ b/.github/workflows/failed-workflow.yml @@ -24,8 +24,11 @@ jobs: steps: - name: Rerun a workflow - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | const workflow_run = await github.rest.actions.getWorkflowRun({ owner: context.repo.owner, diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index e17fefbab1..6b86383ff7 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -114,8 +114,11 @@ jobs: steps: - name: Dispatch workflow run - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ owner: context.repo.owner, diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index aa4d4df1b4..595f3c23e1 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -130,8 +130,11 @@ jobs: steps: - name: Dispatch workflow run - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ owner: context.repo.owner, diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index 6ef9ae7cca..f694dc9478 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -261,8 +261,11 @@ jobs: steps: - name: Dispatch workflow run - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ owner: context.repo.owner, diff --git a/.github/workflows/slack-notifications.yml b/.github/workflows/slack-notifications.yml index cd4502499c..fb5200051b 100644 --- a/.github/workflows/slack-notifications.yml +++ b/.github/workflows/slack-notifications.yml @@ -53,8 +53,11 @@ jobs: steps: - name: Determine the status of the previous attempt id: previous-attempt-result - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | const workflow_run = await github.rest.actions.getWorkflowRun({ owner: context.repo.owner, @@ -116,9 +119,12 @@ jobs: - name: Get the commit message id: current-commit-message - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }} with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | const commit_details = await github.rest.repos.getCommit({ owner: context.repo.owner, diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index c2a7ea4b0d..678e250986 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -209,8 +209,11 @@ jobs: steps: - name: Dispatch workflow run - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ owner: context.repo.owner, diff --git a/.github/workflows/test-npm.yml b/.github/workflows/test-npm.yml index 4861ec9c9c..803141891b 100644 --- a/.github/workflows/test-npm.yml +++ b/.github/workflows/test-npm.yml @@ -188,8 +188,11 @@ jobs: steps: - name: Dispatch workflow run - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ owner: context.repo.owner, diff --git a/.github/workflows/test-old-branches.yml b/.github/workflows/test-old-branches.yml index 489e47191b..c97005526e 100644 --- a/.github/workflows/test-old-branches.yml +++ b/.github/workflows/test-old-branches.yml @@ -67,9 +67,12 @@ jobs: # Run all branches monthly, but only the currently supported one twice per month. steps: - name: Dispatch workflow run - uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 + uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '6.0' }} with: + retries: 2 + retryAfter: 10 + retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ owner: context.repo.owner,