Make WordPress Core


Ignore:
Timestamp:
09/28/2022 01:53:48 AM (2 years 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/test-npm.yml

    r54297 r54342  
    189189    steps:
    190190      - name: Dispatch workflow run
    191         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
     191        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
    192192        with:
     193          retries: 2
     194          retryAfter: 10
     195          retry-exempt-status-codes: 418
    193196          script: |
    194197            github.rest.actions.createWorkflowDispatch({
Note: See TracChangeset for help on using the changeset viewer.