mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Build/Test Tools: Update actions/github-scripts to the latest version.
This version adds support for `octokit/plugin-retry.js`, which retries requests automatically when `4xx` or `5xx` response codes are returned. To start, the feature is configured to retry all `4xx` and `5xx` response codes, unless the server identifies as a teapot. See #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@54342 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ea4d0576df
commit
331ecedc06
5
.github/workflows/coding-standards.yml
vendored
5
.github/workflows/coding-standards.yml
vendored
@ -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,
|
||||
|
||||
5
.github/workflows/end-to-end-tests.yml
vendored
5
.github/workflows/end-to-end-tests.yml
vendored
@ -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,
|
||||
|
||||
5
.github/workflows/failed-workflow.yml
vendored
5
.github/workflows/failed-workflow.yml
vendored
@ -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,
|
||||
|
||||
5
.github/workflows/javascript-tests.yml
vendored
5
.github/workflows/javascript-tests.yml
vendored
@ -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,
|
||||
|
||||
5
.github/workflows/php-compatibility.yml
vendored
5
.github/workflows/php-compatibility.yml
vendored
@ -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,
|
||||
|
||||
5
.github/workflows/phpunit-tests.yml
vendored
5
.github/workflows/phpunit-tests.yml
vendored
@ -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,
|
||||
|
||||
10
.github/workflows/slack-notifications.yml
vendored
10
.github/workflows/slack-notifications.yml
vendored
@ -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,
|
||||
|
||||
5
.github/workflows/test-coverage.yml
vendored
5
.github/workflows/test-coverage.yml
vendored
@ -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,
|
||||
|
||||
5
.github/workflows/test-npm.yml
vendored
5
.github/workflows/test-npm.yml
vendored
@ -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,
|
||||
|
||||
5
.github/workflows/test-old-branches.yml
vendored
5
.github/workflows/test-old-branches.yml
vendored
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user