Make WordPress Core

Changeset 54342


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

Location:
trunk/.github/workflows
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/coding-standards.yml

    r54313 r54342  
    191191    steps:
    192192      - name: Dispatch workflow run
    193         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
    194         with:
     193        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     194        with:
     195          retries: 2
     196          retryAfter: 10
     197          retry-exempt-status-codes: 418
    195198          script: |
    196199            github.rest.actions.createWorkflowDispatch({
  • trunk/.github/workflows/end-to-end-tests.yml

    r54108 r54342  
    147147    steps:
    148148      - name: Dispatch workflow run
    149         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
     149        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
    150150        with:
     151          retries: 2
     152          retryAfter: 10
     153          retry-exempt-status-codes: 418
    151154          script: |
    152155            github.rest.actions.createWorkflowDispatch({
  • 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({
  • 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({
  • trunk/.github/workflows/php-compatibility.yml

    r54313 r54342  
    131131    steps:
    132132      - name: Dispatch workflow run
    133         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
     133        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
    134134        with:
     135          retries: 2
     136          retryAfter: 10
     137          retry-exempt-status-codes: 418
    135138          script: |
    136139            github.rest.actions.createWorkflowDispatch({
  • 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({
  • trunk/.github/workflows/slack-notifications.yml

    r53947 r54342  
    5454      - name: Determine the status of the previous attempt
    5555        id: previous-attempt-result
    56         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
    57         with:
     56        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     57        with:
     58          retries: 2
     59          retryAfter: 10
     60          retry-exempt-status-codes: 418
    5861          script: |
    5962            const workflow_run = await github.rest.actions.getWorkflowRun({
     
    117120      - name: Get the commit message
    118121        id: current-commit-message
    119         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
     122        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
    120123        if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
    121124        with:
     125          retries: 2
     126          retryAfter: 10
     127          retry-exempt-status-codes: 418
    122128          script: |
    123129            const commit_details = await github.rest.repos.getCommit({
  • trunk/.github/workflows/test-coverage.yml

    r54108 r54342  
    210210    steps:
    211211      - name: Dispatch workflow run
    212         uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0
    213         with:
     212        uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     213        with:
     214          retries: 2
     215          retryAfter: 10
     216          retry-exempt-status-codes: 418
    214217          script: |
    215218            github.rest.actions.createWorkflowDispatch({
  • 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({
  • 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.