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/test-old-branches.yml

    r54108 r54342  
    6868    steps:
    6969      - name: Dispatch workflow run
    70         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
     70        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
    7171        if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '6.0' }}
    7272        with:
     73          retries: 2
     74          retryAfter: 10
     75          retry-exempt-status-codes: 418
    7376          script: |
    7477            github.rest.actions.createWorkflowDispatch({
Note: See TracChangeset for help on using the changeset viewer.