Skip to content

Commit 161b4c6

Browse files
authored
chore: pin GitHub Actions to commit SHAs (#24)
* chore: pin GitHub Actions to commit SHAs * chore: pin GitHub Actions to commit SHAs * chore: pin GitHub Actions to commit SHAs
1 parent d9b32b6 commit 161b4c6

3 files changed

Lines changed: 41 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
groups:
8+
github-actions:
9+
patterns:
10+
- "*"
11+
- package-ecosystem: "github-actions"
12+
directory: "/"
13+
schedule:
14+
interval: "weekly"
15+
target-branch: "2.x"
16+
groups:
17+
github-actions:
18+
patterns:
19+
- "*"
20+
- package-ecosystem: "github-actions"
21+
directory: "/"
22+
schedule:
23+
interval: "weekly"
24+
target-branch: "3.x"
25+
groups:
26+
github-actions:
27+
patterns:
28+
- "*"
29+
- package-ecosystem: "github-actions"
30+
directory: "/"
31+
schedule:
32+
interval: "weekly"
33+
target-branch: "5.x"
34+
groups:
35+
github-actions:
36+
patterns:
37+
- "*"

.github/workflows/static.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1717

1818
- name: Setup PHP
19-
uses: shivammathur/setup-php@v2
19+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
2020
with:
2121
php-version: 8.3
2222
tools: composer:v2

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2020

2121
- name: Setup PHP
22-
uses: shivammathur/setup-php@v2
22+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
2323
with:
2424
php-version: ${{ matrix.php }}
2525
tools: composer:v2

0 commit comments

Comments
 (0)