diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 496d86eb1b..20d3d89c61 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -67,7 +67,7 @@ jobs: uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 - name: Set up PHP - uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # v2.19.1 + uses: shivammathur/setup-php@e04e1d97f0c0481c6e1ba40f8a538454fe5d7709 # v2.21.2 with: php-version: '7.4' coverage: none @@ -85,7 +85,7 @@ jobs: run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")" - name: Cache PHPCS scan cache - uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # v3.0.4 + uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8 with: path: .cache/phpcs.json key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json', 'phpcs.xml.dist') }} @@ -142,7 +142,7 @@ jobs: svn --version - name: Install NodeJS - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0 + uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1 with: node-version-file: '.nvmrc' cache: npm diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index 22d0d71716..2832570430 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -73,7 +73,7 @@ jobs: locale -a - name: Install NodeJS - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0 + uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1 with: node-version-file: '.nvmrc' cache: npm diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index 5fc3a94d2c..e148117362 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -67,7 +67,7 @@ jobs: svn --version - name: Install NodeJS - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0 + uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1 with: node-version-file: '.nvmrc' cache: npm diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index 69f67277f2..e4ca2177fc 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -62,7 +62,7 @@ jobs: uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 - name: Set up PHP - uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # v2.19.1 + uses: shivammathur/setup-php@e04e1d97f0c0481c6e1ba40f8a538454fe5d7709 # v2.21.2 with: php-version: '7.4' coverage: none @@ -80,7 +80,7 @@ jobs: run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")" - name: Cache PHP compatibility scan cache - uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # v3.0.4 + uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8 with: path: .cache/phpcompat.json key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcompat-cache-${{ hashFiles('**/composer.json', 'phpcompat.xml.dist') }} diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index bc955ce6b6..6fd808f429 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -112,7 +112,7 @@ jobs: uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 - name: Install NodeJS - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0 + uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1 with: node-version-file: '.nvmrc' cache: npm @@ -131,7 +131,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache Composer dependencies - uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # v3.0.4 + uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8 env: cache-name: cache-composer-dependencies with: diff --git a/.github/workflows/slack-notifications.yml b/.github/workflows/slack-notifications.yml index ceb2da71ea..3b5d260ae0 100644 --- a/.github/workflows/slack-notifications.yml +++ b/.github/workflows/slack-notifications.yml @@ -53,7 +53,7 @@ jobs: steps: - name: Determine the status of the previous attempt id: previous-attempt-result - uses: actions/github-script@7a5c598405937d486b0331594b5da2b14db670da # v6.1.0 + uses: actions/github-script@d50f485531ba88479582bc2da03ff424389af5c1 # v6.1.1 with: script: | const workflow_run = await github.rest.actions.getWorkflowRun({ @@ -116,7 +116,7 @@ jobs: - name: Get the commit message id: current-commit-message - uses: actions/github-script@7a5c598405937d486b0331594b5da2b14db670da # v6.1.0 + uses: actions/github-script@d50f485531ba88479582bc2da03ff424389af5c1 # v6.1.1 if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }} with: script: | @@ -150,7 +150,7 @@ jobs: steps: - name: Post failure notifications to Slack - uses: slackapi/slack-github-action@34c3fd73326693ef04728f8611669d918a2d781d # v1.19.0 + uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0 with: payload: ${{ needs.prepare.outputs.payload }} env: @@ -166,7 +166,7 @@ jobs: steps: - name: Post failure notifications to Slack - uses: slackapi/slack-github-action@34c3fd73326693ef04728f8611669d918a2d781d # v1.19.0 + uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0 with: payload: ${{ needs.prepare.outputs.payload }} env: @@ -182,7 +182,7 @@ jobs: steps: - name: Post success notifications to Slack - uses: slackapi/slack-github-action@34c3fd73326693ef04728f8611669d918a2d781d # v1.19.0 + uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0 with: payload: ${{ needs.prepare.outputs.payload }} env: @@ -198,7 +198,7 @@ jobs: steps: - name: Post cancelled notifications to Slack - uses: slackapi/slack-github-action@34c3fd73326693ef04728f8611669d918a2d781d # v1.19.0 + uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0 with: payload: ${{ needs.prepare.outputs.payload }} env: diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index 35c3f455a4..e02f5b7470 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -87,7 +87,7 @@ jobs: locale -a - name: Install NodeJS - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0 + uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1 with: node-version-file: '.nvmrc' cache: npm @@ -106,7 +106,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache Composer dependencies - uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # v3.0.4 + uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8 env: cache-name: cache-composer-dependencies with: diff --git a/.github/workflows/test-npm.yml b/.github/workflows/test-npm.yml index 8a6a4a49d3..1a192780d7 100644 --- a/.github/workflows/test-npm.yml +++ b/.github/workflows/test-npm.yml @@ -73,7 +73,7 @@ jobs: svn --version - name: Install NodeJS - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0 + uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1 with: node-version-file: '.nvmrc' cache: npm @@ -133,7 +133,7 @@ jobs: svn --version - name: Install NodeJS - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0 + uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1 with: node-version-file: '.nvmrc' cache: npm diff --git a/.github/workflows/test-old-branches.yml b/.github/workflows/test-old-branches.yml index 1e84cd38d5..6dd2730c34 100644 --- a/.github/workflows/test-old-branches.yml +++ b/.github/workflows/test-old-branches.yml @@ -67,7 +67,7 @@ jobs: # Run all branches monthly, but only the currently supported one twice per month. steps: - name: Dispatch workflow run - uses: actions/github-script@7a5c598405937d486b0331594b5da2b14db670da # v6.1.0 + uses: actions/github-script@d50f485531ba88479582bc2da03ff424389af5c1 # v6.1.1 if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '6.0' }} with: github-token: ${{ secrets.GHA_OLD_BRANCH_DISPATCH }} diff --git a/.github/workflows/welcome-new-contributors.yml b/.github/workflows/welcome-new-contributors.yml index 44ddf0b02d..16f9594dba 100644 --- a/.github/workflows/welcome-new-contributors.yml +++ b/.github/workflows/welcome-new-contributors.yml @@ -12,7 +12,7 @@ jobs: if: ${{ github.repository == 'WordPress/wordpress-develop' }} steps: - - uses: bubkoo/welcome-action@8dbbac2540d155744c90e4e37da6b05ffc9c5e2c # v1.0.3 + - uses: bubkoo/welcome-action@e3f444df06502502071d309411d01ba18f916ede # v1.0.3 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} FIRST_PR_COMMENT: >