Skip to content

Commit 6c97ef2

Browse files
committed
SITE-5791: pin actions to Node 24 release SHAs
1 parent 1df55ac commit 6c97ef2

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/composer-diff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
15+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1616
with:
1717
fetch-depth: 0
1818
- name: Generate composer diff
1919
id: composer_diff
2020
uses: IonBazan/composer-diff-action@3140157575f6a67799cc80248ae35f5fb303ab15 # v1
21-
- uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2
21+
- uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
2222
if: ${{ steps.composer_diff.outputs.composer_diff_exit_code != 0 }}
2323
with:
2424
header: composer-diff

.github/workflows/e2e.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525
WP_PASSWORD: ${{ secrets.E2E_WP_PASSWORD }}
2626
HEADLESS: 'true'
2727
steps:
28-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
28+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2929

3030
- name: Set up PHP (for Terminus)
3131
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2
3232
with:
3333
php-version: '8.3'
3434

3535
- name: Set up Node
36-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
36+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3737
with:
3838
node-version: 20
3939

@@ -68,15 +68,15 @@ jobs:
6868

6969
- name: Upload Playwright report
7070
if: always()
71-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
71+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7272
with:
7373
name: playwright-report
7474
path: tests/e2e/playwright-report/
7575
retention-days: 7
7676

7777
- name: Upload test results (screenshots, videos, traces)
7878
if: always()
79-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
79+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8080
with:
8181
name: test-results
8282
path: tests/e2e/test-results/

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1313
with:
1414
ref: ${{ github.event.pull_request.head.ref }}
1515
- name: PHPCBF
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-latest
5050
steps:
5151
- name: Checkout
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5353
- name: Lint
5454
run: |
5555
composer install

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2323
with:
2424
fetch-depth: 0
2525

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
16+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1717
- name: PHP Compatibility
18-
uses: pantheon-systems/phpcompatibility-action@dev
18+
uses: pantheon-systems/phpcompatibility-action@6bcfb79e78f644a471e856a1e92e14148a8e4017 # v1.1.4
1919
with:
2020
test-versions: 8.0-
2121
paths: ${{ github.workspace }}/*.php ${{ github.workspace }}/inc/*.php ${{ github.workspace }}/inc/network/*.php
@@ -30,7 +30,7 @@ jobs:
3030
matrix:
3131
php_version: [7.4, 8.1, 8.3, 8.4, 8.5] # Versions represent newest 7.x, WP supported with exclusions, and beta support.
3232
steps:
33-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
33+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3434
- name: Setup PHP
3535
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2
3636
with:
@@ -39,7 +39,7 @@ jobs:
3939
- name: Start MySQL
4040
run: sudo systemctl start mysql
4141
- name: Cache dependencies
42-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
42+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
4343
with:
4444
path: ~/vendor
4545
key: test-phpunit-dependencies-${{ hashFiles('composer.json') }}

0 commit comments

Comments
 (0)