Skip to content

Commit b671c6d

Browse files
committed
Pin workflow action versions
1 parent 4251717 commit b671c6d

File tree

7 files changed

+26
-26
lines changed

7 files changed

+26
-26
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818

19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020

2121
- name: Setup PHP
22-
uses: shivammathur/setup-php@v2
22+
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #2.33.0
2323
with:
2424
php-version: '8.2'
2525
coverage: none
@@ -33,7 +33,7 @@ jobs:
3333
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
3434

3535
- name: Cache Composer vendor directory
36-
uses: actions/cache@v4
36+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
3737
with:
3838
path: ${{ steps.composer-cache.outputs.dir }}
3939
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

.github/workflows/satis-webhook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
2323

2424
- name: Repository Dispatch
25-
uses: peter-evans/repository-dispatch@v3
25+
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0
2626
with:
2727
token: ${{ secrets.WEBHOOK_TOKEN }}
2828
repository: wpscholar/satis

.github/workflows/svn-deploy-assets-on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Push to main branch
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1515
- name: WordPress.org plugin asset/readme update
1616
uses: bluehost/wp-plugin-readme-assets-updater@master
1717
env:

.github/workflows/svn-deploy-plugin-on-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313

1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616

1717
- name: Setup PHP
18-
uses: shivammathur/setup-php@v2
18+
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #2.33.0
1919
with:
2020
php-version: '8.2'
2121
coverage: none
@@ -31,7 +31,7 @@ jobs:
3131
run: php --version
3232

3333
- name: Set Node
34-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3535
with:
3636
node-version: 22.x
3737

@@ -44,9 +44,9 @@ jobs:
4444
- name: Get npm cache directory
4545
id: npm-cache
4646
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
47-
47+
4848
- name: Cache node modules
49-
uses: actions/cache@v4
49+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
5050
with:
5151
path: ${{ steps.npm-cache.outputs.dir }}
5252
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -64,7 +64,7 @@ jobs:
6464
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
6565

6666
- name: Cache Composer vendor directory
67-
uses: actions/cache@v4
67+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
6868
with:
6969
path: ${{ steps.composer-cache.outputs.dir }}
7070
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -75,7 +75,7 @@ jobs:
7575
run: composer install --prefer-dist --no-progress --no-dev --optimize-autoloader
7676

7777
- name: WordPress Plugin Deploy
78-
uses: 10up/action-wordpress-plugin-deploy@master
78+
uses: 10up/action-wordpress-plugin-deploy@54bd289b8525fd23a5c365ec369185f2966529c2 # 2.3.0
7979
env:
8080
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
8181
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
wp-version: '6.6'
2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727

2828
- name: Set up Node.js
29-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3030
with:
3131
node-version: '22'
3232

3333
- name: Set up PHP
34-
uses: shivammathur/setup-php@v2
34+
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #2.33.0
3535
with:
3636
php-version: '7.4'
3737

.github/workflows/upload-artifact-on-push.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313

1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616

1717
- name: Setup PHP
18-
uses: shivammathur/setup-php@v2
18+
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #2.33.0
1919
with:
2020
php-version: '8.2'
2121
coverage: none
@@ -31,7 +31,7 @@ jobs:
3131
run: php --version
3232

3333
- name: Set Node
34-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3535
with:
3636
node-version: 22.x
3737

@@ -46,7 +46,7 @@ jobs:
4646
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
4747

4848
- name: Cache node modules
49-
uses: actions/cache@v4
49+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
5050
with:
5151
path: ${{ steps.npm-cache.outputs.dir }}
5252
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -64,7 +64,7 @@ jobs:
6464
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
6565

6666
- name: Cache Composer vendor directory
67-
uses: actions/cache@v4
67+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
6868
with:
6969
path: ${{ steps.composer-cache.outputs.dir }}
7070
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -92,7 +92,7 @@ jobs:
9292
- name: List Files
9393
run: ls -lah
9494

95-
- uses: actions/upload-artifact@v4
95+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9696
with:
9797
name: ${{ steps.package.outputs.PACKAGE }}
9898
path: ${{ steps.workflow.outputs.DIST }}

.github/workflows/upload-asset-on-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616

1717
- name: Setup PHP
18-
uses: shivammathur/setup-php@v2
18+
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #2.33.0
1919
with:
2020
php-version: "8.2"
2121
coverage: none
@@ -31,7 +31,7 @@ jobs:
3131
run: php --version
3232

3333
- name: Set Node
34-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3535
with:
3636
node-version: 22.x
3737

@@ -46,7 +46,7 @@ jobs:
4646
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
4747

4848
- name: Cache node modules
49-
uses: actions/cache@v4
49+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
5050
with:
5151
path: ${{ steps.npm-cache.outputs.dir }}
5252
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -64,7 +64,7 @@ jobs:
6464
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
6565

6666
- name: Cache Composer vendor directory
67-
uses: actions/cache@v4
67+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
6868
with:
6969
path: ${{ steps.composer-cache.outputs.dir }}
7070
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

0 commit comments

Comments
 (0)