Make WordPress Core

Changeset 55152


Ignore:
Timestamp:
01/27/2023 07:23:20 PM (15 months ago)
Author:
desrosj
Message:

Build/Test Tools: Update third-party GitHub Actions.

This updates the following third-party GitHub Actions to their latest versions.

  • actions/cache
  • actions/checkout
  • actions/upload-artifact
  • actions/setup-node
  • actions/setup-php
  • actions/github-script

See #57572.

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

Legend:

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

    r54921 r55152  
    6565    steps:
    6666      - name: Checkout repository
    67         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     67        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    6868
    6969      - name: Set up PHP
    70         uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # v2.22.0
     70        uses: shivammathur/setup-php@8e2ac35f639d3e794c1da1f28999385ab6fdf0fc # v2.23.0
    7171        with:
    7272          php-version: '7.4'
     
    8181
    8282      - name: Cache PHPCS scan cache
    83         uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
     83        uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
    8484        with:
    8585          path: |
     
    138138    steps:
    139139      - name: Checkout repository
    140         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     140        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    141141
    142142      - name: Set up Node.js
    143         uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
     143        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
    144144        with:
    145145          node-version-file: '.nvmrc'
     
    191191    steps:
    192192      - name: Dispatch workflow run
    193         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     193        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    194194        with:
    195195          retries: 2
  • trunk/.github/workflows/end-to-end-tests.yml

    r54851 r55152  
    5959
    6060      - name: Checkout repository
    61         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     61        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    6262
    6363      - name: Set up Node.js
    64         uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
     64        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
    6565        with:
    6666          node-version-file: '.nvmrc'
     
    136136    steps:
    137137      - name: Dispatch workflow run
    138         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     138        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    139139        with:
    140140          retries: 2
  • trunk/.github/workflows/failed-workflow.yml

    r54511 r55152  
    2525    steps:
    2626      - name: Rerun a workflow
    27         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     27        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    2828        with:
    2929          retries: 2
  • trunk/.github/workflows/javascript-tests.yml

    r54851 r55152  
    5757    steps:
    5858      - name: Checkout repository
    59         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     59        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    6060
    6161      - name: Set up Node.js
    62         uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
     62        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
    6363        with:
    6464          node-version-file: '.nvmrc'
     
    109109    steps:
    110110      - name: Dispatch workflow run
    111         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     111        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    112112        with:
    113113          retries: 2
  • trunk/.github/workflows/php-compatibility.yml

    r54856 r55152  
    6060    steps:
    6161      - name: Checkout repository
    62         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     62        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    6363
    6464      - name: Set up PHP
    65         uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # v2.22.0
     65        uses: shivammathur/setup-php@8e2ac35f639d3e794c1da1f28999385ab6fdf0fc # v2.23.0
    6666        with:
    6767          php-version: '7.4'
     
    8080
    8181      - name: Cache PHP compatibility scan cache
    82         uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
     82        uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
    8383        with:
    8484          path: .cache/phpcompat.json
     
    134134    steps:
    135135      - name: Dispatch workflow run
    136         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     136        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    137137        with:
    138138          retries: 2
  • trunk/.github/workflows/phpunit-tests.yml

    r54967 r55152  
    105105
    106106      - name: Checkout repository
    107         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     107        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    108108
    109109      - name: Set up Node.js
    110         uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
     110        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
    111111        with:
    112112          node-version-file: '.nvmrc'
     
    121121      ##
    122122      - name: Set up PHP
    123         uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # v2.22.0
     123        uses: shivammathur/setup-php@8e2ac35f639d3e794c1da1f28999385ab6fdf0fc # v2.23.0
    124124        with:
    125125          php-version: '${{ matrix.php }}'
     
    207207      - name: Checkout the WordPress Test Reporter
    208208        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && matrix.report }}
    209         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     209        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    210210        with:
    211211          repository: 'WordPress/phpunit-test-runner'
     
    246246    steps:
    247247      - name: Dispatch workflow run
    248         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     248        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    249249        with:
    250250          retries: 2
  • trunk/.github/workflows/slack-notifications.yml

    r54649 r55152  
    5454      - name: Determine the status of the previous attempt
    5555        id: previous-attempt-result
    56         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     56        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    5757        with:
    5858          retries: 2
     
    119119      - name: Get the commit message
    120120        id: current-commit-message
    121         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     121        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    122122        if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
    123123        with:
  • trunk/.github/workflows/test-and-zip-default-themes.yml

    r54851 r55152  
    7474    steps:
    7575      - name: Checkout repository
    76         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     76        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    7777        with:
    7878          ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
    7979
    8080      - name: Set up Node.js
    81         uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
     81        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
    8282        with:
    8383          node-version-file: '.nvmrc'
     
    126126    steps:
    127127      - name: Checkout repository
    128         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     128        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    129129        with:
    130130          ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
    131131
    132132      - name: Upload theme ZIP as an artifact
    133         uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1
     133        uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
    134134        with:
    135135          if-no-files-found: error
     
    166166    steps:
    167167      - name: Dispatch workflow run
    168         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     168        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    169169        with:
    170170          retries: 2
  • trunk/.github/workflows/test-coverage.yml

    r54856 r55152  
    7171
    7272      - name: Checkout repository
    73         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     73        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    7474
    7575      - name: Set up Node.js
    76         uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
     76        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
    7777        with:
    7878          node-version-file: '.nvmrc'
     
    8787      ##
    8888      - name: Set up PHP
    89         uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # v2.22.0
     89        uses: shivammathur/setup-php@8e2ac35f639d3e794c1da1f28999385ab6fdf0fc # v2.23.0
    9090        with:
    9191          php-version: '7.4'
     
    195195    steps:
    196196      - name: Dispatch workflow run
    197         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     197        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    198198        with:
    199199          retries: 2
  • trunk/.github/workflows/test-npm.yml

    r54852 r55152  
    6363    steps:
    6464      - name: Checkout repository
    65         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     65        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    6666
    6767      - name: Set up Node.js
    68         uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
     68        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
    6969        with:
    7070          node-version-file: '.nvmrc'
     
    127127    steps:
    128128      - name: Checkout repository
    129         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     129        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
    130130
    131131      - name: Set up Node.js
    132         uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
     132        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
    133133        with:
    134134          node-version-file: '.nvmrc'
     
    193193    steps:
    194194      - name: Dispatch workflow run
    195         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     195        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    196196        with:
    197197          retries: 2
  • trunk/.github/workflows/test-old-branches.yml

    r54995 r55152  
    6565    steps:
    6666      - name: Dispatch workflow run
    67         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     67        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    6868        if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '6.1' }}
    6969        with:
Note: See TracChangeset for help on using the changeset viewer.