Skip to content

Commit 560eda8

Browse files
authored
chore: pin third-party GitHub Actions to commit SHAs (#27)
1 parent c31e09e commit 560eda8

4 files changed

Lines changed: 25 additions & 3 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/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212

1313
- name: Setup PHP
14-
uses: shivammathur/setup-php@v2
14+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
1515
with:
1616
php-version: '8.1'
1717

‎.github/workflows/code-quality.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ on:
99

1010
jobs:
1111
code-quality:
12-
uses: wp-cli/.github/.github/workflows/reusable-code-quality.yml@main
12+
uses: wp-cli/.github/.github/workflows/reusable-code-quality.yml@5a55e811a46f1ac4946dbd337b74ea7f23ebe014 # main

‎.github/workflows/testing.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
test:
12-
uses: wp-cli/.github/.github/workflows/reusable-testing.yml@main
12+
uses: wp-cli/.github/.github/workflows/reusable-testing.yml@5a55e811a46f1ac4946dbd337b74ea7f23ebe014 # main
1313
with:
1414
minimum-php: "7.4"
1515
matrix: '{ "exclude": [{ "os": "windows-latest" }] }'

0 commit comments

Comments
 (0)