Make WordPress Core


Ignore:
Timestamp:
09/28/2022 01:53:48 AM (3 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/phpunit-tests.yml

    r54108 r54342  
    262262    steps:
    263263      - name: Dispatch workflow run
    264         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
    265         with:
     264        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     265        with:
     266          retries: 2
     267          retryAfter: 10
     268          retry-exempt-status-codes: 418
    266269          script: |
    267270            github.rest.actions.createWorkflowDispatch({
Note: See TracChangeset for help on using the changeset viewer.