Skip to content

Commit d94ee1b

Browse files
authored
chore: pin GitHub Actions to full-length commit SHAs (#2034)
1 parent 8d28364 commit d94ee1b

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.github/workflows/changelog-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ permissions:
1414

1515
jobs:
1616
changelog-preview:
17-
uses: getsentry/craft/.github/workflows/changelog-preview.yml@v2
17+
uses: getsentry/craft/.github/workflows/changelog-preview.yml@f4889d04564e47311038ecb6b910fef6b6cf1363 # v2
1818
secrets: inherit

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ jobs:
4646

4747
steps:
4848
- name: Checkout
49-
uses: actions/checkout@v6
49+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
5050
with:
5151
fetch-depth: 2
5252

5353
- name: Setup PHP
54-
uses: shivammathur/setup-php@v2
54+
uses: shivammathur/setup-php@728c6c6b8cf02c2e48117716a91ee48313958a19 # v2
5555
with:
5656
php-version: ${{ matrix.php.version }}
5757
coverage: xdebug
@@ -65,7 +65,7 @@ jobs:
6565
shell: bash
6666

6767
- name: Cache Composer dependencies
68-
uses: actions/cache@v5
68+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
6969
with:
7070
path: ${{ steps.composer-cache.outputs.directory }}
7171
key: ${{ runner.os }}-${{ matrix.php.version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }}
@@ -101,7 +101,7 @@ jobs:
101101
run: vendor/bin/phpunit --testsuite oom --no-coverage
102102

103103
- name: Upload code coverage to Codecov
104-
uses: codecov/codecov-action@v5
104+
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5
105105
with:
106106
token: ${{ secrets.CODECOV_TOKEN }}
107107

@@ -115,12 +115,12 @@ jobs:
115115

116116
steps:
117117
- name: Checkout
118-
uses: actions/checkout@v6
118+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
119119
with:
120120
fetch-depth: 2
121121

122122
- name: Setup PHP
123-
uses: shivammathur/setup-php@v2
123+
uses: shivammathur/setup-php@728c6c6b8cf02c2e48117716a91ee48313958a19 # v2
124124
with:
125125
php-version: '8.4'
126126
coverage: none
@@ -131,7 +131,7 @@ jobs:
131131
shell: bash
132132

133133
- name: Cache Composer dependencies
134-
uses: actions/cache@v5
134+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
135135
with:
136136
path: ${{ steps.composer-cache.outputs.directory }}
137137
key: ${{ runner.os }}-runtime-frankenphp-composer-${{ hashFiles('**/composer.lock') }}
@@ -180,12 +180,12 @@ jobs:
180180

181181
steps:
182182
- name: Checkout
183-
uses: actions/checkout@v6
183+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
184184
with:
185185
fetch-depth: 2
186186

187187
- name: Setup PHP
188-
uses: shivammathur/setup-php@v2
188+
uses: shivammathur/setup-php@728c6c6b8cf02c2e48117716a91ee48313958a19 # v2
189189
with:
190190
php-version: '8.4'
191191
coverage: none
@@ -196,7 +196,7 @@ jobs:
196196
shell: bash
197197

198198
- name: Cache Composer dependencies
199-
uses: actions/cache@v5
199+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
200200
with:
201201
path: ${{ steps.composer-cache.outputs.directory }}
202202
key: ${{ runner.os }}-runtime-roadrunner-composer-${{ hashFiles('**/composer.lock') }}

.github/workflows/publish-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
3030
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
3131

32-
- uses: actions/checkout@v6
32+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3333
with:
3434
token: ${{ steps.token.outputs.token }}
3535
fetch-depth: 0

.github/workflows/static-analysis.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v6
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2020

2121
- name: Setup PHP
22-
uses: shivammathur/setup-php@v2
22+
uses: shivammathur/setup-php@728c6c6b8cf02c2e48117716a91ee48313958a19 # v2
2323
with:
2424
php-version: '8.4'
2525

@@ -34,10 +34,10 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@v6
37+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3838

3939
- name: Setup PHP
40-
uses: shivammathur/setup-php@v2
40+
uses: shivammathur/setup-php@728c6c6b8cf02c2e48117716a91ee48313958a19 # v2
4141
with:
4242
php-version: '8.4'
4343

0 commit comments

Comments
 (0)