From d3c4fc0df9a61da9d1dd2f2303ef82947275253b Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 28 Sep 2022 02:20:32 +0000 Subject: [PATCH] Build/Test Tools: Remove the `retryAfter` input. This was included in the original pull request that aimed to add support for `octokit/plugin-retry.js` in `actions/github-scripts`, but was actually removed before being merged. Follow up to [54342]. See #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@54343 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/coding-standards.yml | 1 - .github/workflows/end-to-end-tests.yml | 1 - .github/workflows/failed-workflow.yml | 1 - .github/workflows/javascript-tests.yml | 1 - .github/workflows/php-compatibility.yml | 1 - .github/workflows/phpunit-tests.yml | 1 - .github/workflows/slack-notifications.yml | 2 -- .github/workflows/test-coverage.yml | 1 - .github/workflows/test-npm.yml | 1 - .github/workflows/test-old-branches.yml | 1 - 10 files changed, 11 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index b0f83a6154..b4bf70b7c8 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -193,7 +193,6 @@ jobs: uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: retries: 2 - retryAfter: 10 retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index b5e7f15c03..807ccbe2ed 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -149,7 +149,6 @@ jobs: uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: retries: 2 - retryAfter: 10 retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ diff --git a/.github/workflows/failed-workflow.yml b/.github/workflows/failed-workflow.yml index f9719e5adb..7908452ee8 100644 --- a/.github/workflows/failed-workflow.yml +++ b/.github/workflows/failed-workflow.yml @@ -27,7 +27,6 @@ jobs: 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({ diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index 6b86383ff7..65192bec39 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -117,7 +117,6 @@ jobs: uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: retries: 2 - retryAfter: 10 retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index 595f3c23e1..c92e059675 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -133,7 +133,6 @@ jobs: uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: retries: 2 - retryAfter: 10 retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index f694dc9478..5d1de8f851 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -264,7 +264,6 @@ jobs: uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: retries: 2 - retryAfter: 10 retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ diff --git a/.github/workflows/slack-notifications.yml b/.github/workflows/slack-notifications.yml index fb5200051b..9315a2c953 100644 --- a/.github/workflows/slack-notifications.yml +++ b/.github/workflows/slack-notifications.yml @@ -56,7 +56,6 @@ jobs: 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({ @@ -123,7 +122,6 @@ jobs: 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({ diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index 678e250986..f9f450ff22 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -212,7 +212,6 @@ jobs: uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: retries: 2 - retryAfter: 10 retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ diff --git a/.github/workflows/test-npm.yml b/.github/workflows/test-npm.yml index 803141891b..a7502b08b9 100644 --- a/.github/workflows/test-npm.yml +++ b/.github/workflows/test-npm.yml @@ -191,7 +191,6 @@ jobs: uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0 with: retries: 2 - retryAfter: 10 retry-exempt-status-codes: 418 script: | github.rest.actions.createWorkflowDispatch({ diff --git a/.github/workflows/test-old-branches.yml b/.github/workflows/test-old-branches.yml index c97005526e..660f1f4fcc 100644 --- a/.github/workflows/test-old-branches.yml +++ b/.github/workflows/test-old-branches.yml @@ -71,7 +71,6 @@ jobs: 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({