mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-28 17:24:33 +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:
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,
|
||||
|
||||
Reference in New Issue
Block a user