Skip to content

Commit 05f1a8b

Browse files
committed
chore: pin third-party GitHub Actions to commit SHAs
Tracking: DEVPROD-1072
1 parent 27c2c6d commit 05f1a8b

6 files changed

Lines changed: 28 additions & 6 deletions

File tree

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
open-pull-requests-limit: 10
9+
groups:
10+
actions-minor-patch:
11+
patterns:
12+
- "*"
13+
update-types:
14+
- "minor"
15+
- "patch"
16+
actions-major:
17+
patterns:
18+
- "*"
19+
update-types:
20+
- "major"
21+
cooldown:
22+
default-days: 7

.github/workflows/reusable-build-distributable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: node --version
2727

2828
- name: Setup PHP
29-
uses: shivammathur/setup-php@v2
29+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
3030
with:
3131
php-version: '8.3'
3232
tools: composer

.github/workflows/reusable-lint-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v4
1919

2020
- name: Setup PHP
21-
uses: shivammathur/setup-php@v2
21+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
2222
with:
2323
php-version: ${{ inputs.php-version }}
2424
tools: composer

.github/workflows/reusable-release-wporg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: node --version
3939

4040
- name: Setup PHP
41-
uses: shivammathur/setup-php@v2
41+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
4242
with:
4343
php-version: '8.3'
4444
tools: composer

.github/workflows/reusable-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
cache: 'npm'
3131

3232
- name: Setup PHP
33-
uses: shivammathur/setup-php@v2
33+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
3434
with:
3535
php-version: '8.3'
3636
tools: composer

.github/workflows/reusable-test-php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: actions/checkout@v4
4343

4444
- name: Setup PHP
45-
uses: shivammathur/setup-php@v2
45+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
4646
with:
4747
php-version: ${{ inputs.php-version }}
4848
tools: composer
@@ -65,7 +65,7 @@ jobs:
6565

6666
- name: Upload coverage to Codecov
6767
if: ${{ env.CODECOV_TOKEN != '' }}
68-
uses: codecov/codecov-action@v4
68+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
6969
with:
7070
token: ${{ secrets.CODECOV_TOKEN }}
7171
files: coverage.xml

0 commit comments

Comments
 (0)