Make WordPress Core

Changeset 57197


Ignore:
Timestamp:
12/18/2023 03:18:30 PM (6 months ago)
Author:
desrosj
Message:

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

This updates the following GitHub Actions to their latest versions:

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

See #59805.

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

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/callable-test-core-build-process.yml

    r57177 r57197  
    4242    steps:
    4343      - name: Checkout repository
    44         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     44        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    4545        with:
    4646          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    4747
    4848      - name: Set up Node.js
    49         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     49        uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
    5050        with:
    5151          node-version-file: '.nvmrc'
     
    8080
    8181      - name: Upload ZIP as a GitHub Actions artifact
    82         uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
     82        uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
    8383        if: ${{ inputs.directory == 'build' && 'ubuntu-latest' == inputs.os }}
    8484        with:
  • trunk/.github/workflows/callable-test-gutenberg-build-process.yml

    r56976 r57197  
    4343    steps:
    4444      - name: Checkout repository
    45         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     45        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    4646        with:
    4747          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    4848
    4949      - name: Checkout Gutenberg plugin
    50         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     50        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    5151        with:
    5252          repository: 'WordPress/gutenberg'
     
    5555
    5656      - name: Set up Node.js
    57         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     57        uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
    5858        with:
    5959          node-version-file: '.nvmrc'
  • trunk/.github/workflows/coding-standards.yml

    r56954 r57197  
    7171    steps:
    7272      - name: Checkout repository
    73         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     73        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    7474        with:
    7575          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    7676
    7777      - name: Set up PHP
    78         uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
     78        uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
    7979        with:
    8080          php-version: 'latest'
     
    8989
    9090      - name: Cache PHPCS scan cache
    91         uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
     91        uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
    9292        with:
    9393          path: |
     
    148148    steps:
    149149      - name: Checkout repository
    150         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     150        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    151151        with:
    152152          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    153153
    154154      - name: Set up Node.js
    155         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     155        uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
    156156        with:
    157157          node-version-file: '.nvmrc'
     
    208208    steps:
    209209      - name: Dispatch workflow run
    210         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     210        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    211211        with:
    212212          retries: 2
  • trunk/.github/workflows/end-to-end-tests.yml

    r56954 r57197  
    7272
    7373      - name: Checkout repository
    74         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     74        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    7575        with:
    7676          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    7777
    7878      - name: Set up Node.js
    79         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     79        uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
    8080        with:
    8181          node-version-file: '.nvmrc'
     
    129129
    130130      - name: Archive debug artifacts (screenshots, HTML snapshots)
    131         uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
     131        uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
    132132        if: always()
    133133        with:
     
    172172    steps:
    173173      - name: Dispatch workflow run
    174         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     174        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    175175        with:
    176176          retries: 2
  • trunk/.github/workflows/failed-workflow.yml

    r57052 r57197  
    3131    steps:
    3232      - name: Rerun a workflow
    33         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     33        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    3434        with:
    3535          retries: 15
  • trunk/.github/workflows/install-testing.yml

    r56823 r57197  
    6363    steps:
    6464      - name: Set up PHP ${{ matrix.php }}
    65         uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # v2.26.0
     65        uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
    6666        with:
    6767          php-version: '${{ matrix.php }}'
     
    116116    steps:
    117117      - name: Dispatch workflow run
    118         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     118        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    119119        with:
    120120          retries: 2
  • trunk/.github/workflows/javascript-tests.yml

    r56660 r57197  
    6363    steps:
    6464      - name: Checkout repository
    65         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     65        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    6666        with:
    6767          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    6868
    6969      - name: Set up Node.js
    70         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     70        uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
    7171        with:
    7272          node-version-file: '.nvmrc'
     
    123123    steps:
    124124      - name: Dispatch workflow run
    125         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     125        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    126126        with:
    127127          retries: 2
  • trunk/.github/workflows/performance.yml

    r57143 r57197  
    104104
    105105      - name: Checkout repository
    106         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     106        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    107107        with:
    108108          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    109109
    110110      - name: Set up Node.js
    111         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     111        uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
    112112        with:
    113113          node-version-file: '.nvmrc'
     
    243243        # Only needed when publishing results.
    244244        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/trunk' }}
    245         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     245        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    246246        id: base-sha
    247247        with:
     
    254254        # Only needed when publishing results.
    255255        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/trunk' }}
    256         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     256        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    257257        id: commit-timestamp
    258258        with:
     
    309309    steps:
    310310      - name: Dispatch workflow run
    311         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     311        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    312312        with:
    313313          retries: 2
  • trunk/.github/workflows/php-compatibility.yml

    r56660 r57197  
    6666    steps:
    6767      - name: Checkout repository
    68         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     68        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    6969        with:
    7070          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    7171
    7272      - name: Set up PHP
    73         uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
     73        uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
    7474        with:
    7575          php-version: '7.4'
     
    8888
    8989      - name: Cache PHP compatibility scan cache
    90         uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
     90        uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
    9191        with:
    9292          path: .cache/phpcompat.json
     
    148148    steps:
    149149      - name: Dispatch workflow run
    150         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     150        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    151151        with:
    152152          retries: 2
  • trunk/.github/workflows/phpunit-tests-run.yml

    r56954 r57197  
    8686
    8787      - name: Checkout repository
    88         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     88        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    8989        with:
    9090          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    9191
    9292      - name: Set up Node.js
    93         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     93        uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
    9494        with:
    9595          node-version-file: '.nvmrc'
     
    104104      ##
    105105      - name: Set up PHP
    106         uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
     106        uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
    107107        with:
    108108          php-version: '${{ inputs.php }}'
     
    176176      - name: Checkout the WordPress Test Reporter
    177177        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && inputs.report }}
    178         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     178        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    179179        with:
    180180          repository: 'WordPress/phpunit-test-runner'
  • trunk/.github/workflows/phpunit-tests.yml

    r57152 r57197  
    162162    steps:
    163163      - name: Dispatch workflow run
    164         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     164        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    165165        with:
    166166          retries: 2
  • trunk/.github/workflows/pull-request-comments.yml

    r57178 r57197  
    8484    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name == 'pull_request_target' }}
    8585    steps:
    86       - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     86      - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    8787        with:
    8888          script: |
  • trunk/.github/workflows/slack-notifications.yml

    r56827 r57197  
    6161      - name: Determine the status of the previous attempt
    6262        id: previous-attempt-result
    63         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     63        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    6464        with:
    6565          retries: 2
     
    132132      - name: Get the commit message
    133133        id: current-commit-message
    134         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     134        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    135135        if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
    136136        with:
  • trunk/.github/workflows/test-and-zip-default-themes.yml

    r56792 r57197  
    8787    steps:
    8888      - name: Checkout repository
    89         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     89        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    9090        with:
    9191          ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
     
    126126    steps:
    127127      - name: Checkout repository
    128         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     128        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    129129        with:
    130130          ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
     
    132132
    133133      - name: Set up Node.js
    134         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     134        uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
    135135        with:
    136136          node-version-file: '.nvmrc'
     
    182182    steps:
    183183      - name: Checkout repository
    184         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     184        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    185185        with:
    186186          ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
     
    188188
    189189      - name: Upload theme ZIP as an artifact
    190         uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
     190        uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
    191191        with:
    192192          if-no-files-found: error
     
    228228    steps:
    229229      - name: Dispatch workflow run
    230         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     230        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    231231        with:
    232232          retries: 2
  • trunk/.github/workflows/test-build-processes.yml

    r57178 r57197  
    142142    steps:
    143143      - name: Dispatch workflow run
    144         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     144        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    145145        with:
    146146          retries: 2
  • trunk/.github/workflows/test-coverage.yml

    r56954 r57197  
    7777
    7878      - name: Checkout repository
    79         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     79        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    8080        with:
    8181          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    8282
    8383      - name: Set up Node.js
    84         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     84        uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
    8585        with:
    8686          node-version-file: '.nvmrc'
     
    9595      ##
    9696      - name: Set up PHP
    97         uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
     97        uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
    9898        with:
    9999          php-version: '7.4'
     
    209209    steps:
    210210      - name: Dispatch workflow run
    211         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     211        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    212212        with:
    213213          retries: 2
  • trunk/.github/workflows/test-old-branches.yml

    r56966 r57197  
    9494    steps:
    9595      - name: Dispatch workflow run
    96         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     96        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    9797        if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == env.CURRENTLY_SUPPORTED_BRANCH }}
    9898        with:
  • trunk/.github/workflows/upgrade-testing-run.yml

    r56661 r57197  
    6363    steps:
    6464      - name: Set up PHP ${{ inputs.php }}
    65         uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # v2.26.0
     65        uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
    6666        with:
    6767          php-version: '${{ inputs.php }}'
  • trunk/.github/workflows/upgrade-testing.yml

    r57082 r57197  
    192192    steps:
    193193      - name: Dispatch workflow run
    194         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
     194        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
    195195        with:
    196196          retries: 2
Note: See TracChangeset for help on using the changeset viewer.