Make WordPress Core

Changeset 54373


Ignore:
Timestamp:
10/04/2022 01:25:42 AM (19 months ago)
Author:
desrosj
Message:

Build/Test Tools: Update github-script action to the latest version.

The latest version of the actions/github-script action fixes an issue where passing options to the action would remove any default values not passed (see https://github.com/actions/github-script/pull/293).

This also includes updates to other third-party actions, bringing all third-party versions in Core workflows to their latest versions:

  • actions/cache
  • actions/setup-node
  • codecov/codecov-action

See #55652.

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

Legend:

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

    r54371 r54373  
    8686
    8787      - name: Cache PHPCS scan cache
    88         uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
     88        uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
    8989        with:
    9090          path: .cache/phpcs.json
     
    151151
    152152      - name: Install NodeJS
    153         uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
     153        uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
    154154        with:
    155155          node-version-file: '.nvmrc'
     
    199199    steps:
    200200      - name: Dispatch workflow run
    201         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     201        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    202202        with:
    203203          retries: 2
  • trunk/.github/workflows/end-to-end-tests.yml

    r54343 r54373  
    7474
    7575      - name: Install NodeJS
    76         uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
     76        uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
    7777        with:
    7878          node-version-file: '.nvmrc'
     
    147147    steps:
    148148      - name: Dispatch workflow run
    149         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     149        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    150150        with:
    151151          retries: 2
  • trunk/.github/workflows/failed-workflow.yml

    r54343 r54373  
    2525    steps:
    2626      - name: Rerun a workflow
    27         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     27        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    2828        with:
    2929          retries: 2
  • trunk/.github/workflows/javascript-tests.yml

    r54343 r54373  
    6868
    6969      - name: Install NodeJS
    70         uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
     70        uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
    7171        with:
    7272          node-version-file: '.nvmrc'
     
    115115    steps:
    116116      - name: Dispatch workflow run
    117         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     117        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    118118        with:
    119119          retries: 2
  • trunk/.github/workflows/php-compatibility.yml

    r54371 r54373  
    8181
    8282      - name: Cache PHP compatibility scan cache
    83         uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
     83        uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
    8484        with:
    8585          path: .cache/phpcompat.json
     
    135135    steps:
    136136      - name: Dispatch workflow run
    137         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     137        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    138138        with:
    139139          retries: 2
  • trunk/.github/workflows/phpunit-tests.yml

    r54369 r54373  
    113113
    114114      - name: Install NodeJS
    115         uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
     115        uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
    116116        with:
    117117          node-version-file: '.nvmrc'
     
    132132
    133133      - name: Cache Composer dependencies
    134         uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
     134        uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
    135135        env:
    136136          cache-name: cache-composer-dependencies
     
    259259    steps:
    260260      - name: Dispatch workflow run
    261         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     261        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    262262        with:
    263263          retries: 2
  • trunk/.github/workflows/slack-notifications.yml

    r54343 r54373  
    5454      - name: Determine the status of the previous attempt
    5555        id: previous-attempt-result
    56         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     56        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    5757        with:
    5858          retries: 2
     
    119119      - name: Get the commit message
    120120        id: current-commit-message
    121         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     121        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    122122        if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
    123123        with:
  • trunk/.github/workflows/test-coverage.yml

    r54343 r54373  
    8888
    8989      - name: Install NodeJS
    90         uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
     90        uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
    9191        with:
    9292          node-version-file: '.nvmrc'
     
    107107
    108108      - name: Cache Composer dependencies
    109         uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
     109        uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
    110110        env:
    111111          cache-name: cache-composer-dependencies
     
    161161      - name: Upload single site report to Codecov
    162162        if: ${{ ! matrix.multisite && github.event_name != 'pull_request' }}
    163         uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
     163        uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
    164164        with:
    165165          file: wp-code-coverage-single-clover-${{ github.sha }}.xml
     
    176176      - name: Upload multisite report to Codecov
    177177        if: ${{ matrix.multisite && github.event_name != 'pull_request' }}
    178         uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
     178        uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
    179179        with:
    180180          file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
     
    210210    steps:
    211211      - name: Dispatch workflow run
    212         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     212        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    213213        with:
    214214          retries: 2
  • trunk/.github/workflows/test-npm.yml

    r54343 r54373  
    7474
    7575      - name: Install NodeJS
    76         uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
     76        uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
    7777        with:
    7878          node-version-file: '.nvmrc'
     
    134134
    135135      - name: Install NodeJS
    136         uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
     136        uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
    137137        with:
    138138          node-version-file: '.nvmrc'
     
    189189    steps:
    190190      - name: Dispatch workflow run
    191         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     191        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    192192        with:
    193193          retries: 2
  • trunk/.github/workflows/test-old-branches.yml

    r54343 r54373  
    6868    steps:
    6969      - name: Dispatch workflow run
    70         uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
     70        uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
    7171        if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '6.0' }}
    7272        with:
Note: See TracChangeset for help on using the changeset viewer.