Skip to content

Commit 87a08fb

Browse files
committed
Pin GitHub Actions to immutable commit SHAs
1 parent 1a0805a commit 87a08fb

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/actions/composite/setup-composer-cache/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ runs:
1010
shell: bash
1111

1212
- name: Cache Composer Files
13-
uses: actions/cache@v4.2.0
13+
# v4.2.0
14+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
1415
with:
1516
path: ${{ steps.composer-cache.outputs.dir }}
1617
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

.github/workflows/bedrock-php.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
timeout-minutes: 15
1818
steps:
1919
- name: checkout
20-
uses: actions/checkout@v4.1.0
20+
# v4.1.0
21+
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
2122
with:
2223
# Set fetch-depth to 100 so that we can compare HEAD with a good chunk of git log history
2324
fetch-depth: 100
@@ -44,7 +45,8 @@ jobs:
4445
timeout-minutes: 15
4546
steps:
4647
- name: checkout
47-
uses: actions/checkout@v4.1.0
48+
# v4.1.0
49+
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
4850
with:
4951
# Set fetch-depth to 100 so that we can compare HEAD with a good chunk of git log history
5052
fetch-depth: 100

0 commit comments

Comments
 (0)