Make WordPress Core


Ignore:
Timestamp:
09/28/2022 01:53:48 AM (17 months ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/javascript-tests.yml

    r54108 r54342  
    115115    steps:
    116116      - name: Dispatch workflow run
    117         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
     117        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
    118118        with:
     119          retries: 2
     120          retryAfter: 10
     121          retry-exempt-status-codes: 418
    119122          script: |
    120123            github.rest.actions.createWorkflowDispatch({
Note: See TracChangeset for help on using the changeset viewer.