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/failed-workflow.yml

    r54264 r54342  
    2525    steps:
    2626      - name: Rerun a workflow
    27         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
     27        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
    2828        with:
     29          retries: 2
     30          retryAfter: 10
     31          retry-exempt-status-codes: 418
    2932          script: |
    3033            const workflow_run = await github.rest.actions.getWorkflowRun({
Note: See TracChangeset for help on using the changeset viewer.