Skip to content

Commit 93aa5e6

Browse files
authored
Merge pull request Homebrew#201025 from Homebrew/actions-full-versions
workflows: use full version numbers
2 parents b6fa617 + 0522792 commit 93aa5e6

12 files changed

+22
-22
lines changed

.github/workflows/actionlint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- run: zizmor --format sarif . > results.sarif
5959

6060
- name: Upload SARIF file
61-
uses: actions/upload-artifact@v4
61+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
6262
with:
6363
name: results.sarif
6464
path: results.sarif
@@ -82,13 +82,13 @@ jobs:
8282
security-events: write
8383
steps:
8484
- name: Download SARIF file
85-
uses: actions/download-artifact@v4
85+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
8686
with:
8787
name: results.sarif
8888
path: results.sarif
8989

9090
- name: Upload SARIF file
91-
uses: github/codeql-action/upload-sarif@v3
91+
uses: github/codeql-action/upload-sarif@86b04fb0e47484f7282357688f21d5d0e32175fe # v3.27.9
9292
with:
9393
sarif_file: results.sarif
9494
category: zizmor

.github/workflows/automerge-from-merge-queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
actions: read
4242
steps:
4343
- name: Upload metadata
44-
uses: actions/upload-artifact@v4
44+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
4545
with:
4646
name: event_payload
4747
path: ${{ github.event_path }}

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
workflow-name: Triage tasks
4848

4949
- name: Download `event_payload` artifact
50-
uses: actions/download-artifact@v4
50+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
5151
with:
5252
name: event_payload
5353
github-token: ${{ github.token }}

.github/workflows/cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
echo "prefix=${cache_key_prefix}" >> "${GITHUB_OUTPUT}"
8787
8888
- name: Cache Homebrew Bundler gems
89-
uses: actions/cache@v4
89+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
9090
with:
9191
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
9292
key: ${{ steps.cache-key.outputs.prefix }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}

.github/workflows/create-replacement-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
"$PR"
183183
184184
- name: Generate build provenance
185-
uses: actions/attest-build-provenance@v2
185+
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
186186
with:
187187
subject-path: '${{steps.pr-pull.outputs.bottle_path}}/*.tar.gz'
188188
if: inputs.upload

.github/workflows/dispatch-build-bottle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868

6969
- name: Prepare runner matrix
7070
id: runner-matrix
71-
uses: actions/github-script@v7
71+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
7272
with:
7373
script: |
7474
const macOSRegex = /^(\d+(?:\.\d+)?)(?:-(arm64|x86_64))?$/;
@@ -218,7 +218,7 @@ jobs:
218218
test-bot: false
219219

220220
- name: Download bottles from GitHub Actions
221-
uses: actions/download-artifact@v4
221+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
222222
with:
223223
pattern: bottles_*
224224
path: ${{ env.BOTTLES_DIR }}
@@ -236,7 +236,7 @@ jobs:
236236
signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}
237237

238238
- name: Generate build provenance
239-
uses: actions/attest-build-provenance@v2
239+
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
240240
with:
241241
subject-path: ${{ env.BOTTLES_DIR }}/*.tar.gz
242242

.github/workflows/dispatch-rebottle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
test-bot: false
156156

157157
- name: Download bottles from GitHub Actions
158-
uses: actions/download-artifact@v4
158+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
159159
with:
160160
pattern: bottles_*
161161
path: ${{ env.BOTTLES_DIR }}
@@ -173,7 +173,7 @@ jobs:
173173
signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}
174174

175175
- name: Generate build provenance
176-
uses: actions/attest-build-provenance@v2
176+
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
177177
with:
178178
subject-path: ${{ env.BOTTLES_DIR }}/*.tar.gz
179179

.github/workflows/publish-commit-bottles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ jobs:
354354
"$PR"
355355
356356
- name: Generate build provenance
357-
uses: actions/attest-build-provenance@v2
357+
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
358358
with:
359359
subject-path: '${{steps.pr-pull.outputs.bottle_path}}/*.tar.gz'
360360

.github/workflows/recreate-linux-runners.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: Download `event_payload` artifact
4949
if: github.event_name == 'workflow_run'
50-
uses: actions/download-artifact@v4
50+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
5151
with:
5252
name: event_payload
5353
github-token: ${{ github.token }}
@@ -91,7 +91,7 @@ jobs:
9191
- linux-self-hosted-1
9292
steps:
9393
- name: Set up Cloud SDK
94-
uses: google-github-actions/[email protected]
94+
uses: google-github-actions/setup-gcloud@daadedc81d5f9d3c06d2c92f49202a3cc2b919ba # v0.2.1
9595
with:
9696
project_id: ${{ secrets.GCP_PROJECT_ID }}
9797
service_account_key: ${{ secrets.GCP_SA_KEY }}

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
stable: ${{ matrix.stable }}
5656

5757
- name: Cache style cache
58-
uses: actions/cache@v4
58+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
5959
with:
6060
path: /home/linuxbrew/.cache/Homebrew/style
6161
key: style-cache-${{ matrix.stable && 'stable-' || 'master-' }}${{ github.sha }}
@@ -144,13 +144,13 @@ jobs:
144144
test-bot-formulae-args: ${{ steps.check-labels.outputs.test-bot-formulae-args }}
145145
test-bot-dependents-args: ${{ steps.check-labels.outputs.test-bot-dependents-args }}
146146
steps:
147-
- uses: actions/checkout@v4
147+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
148148
with:
149149
persist-credentials: false
150150

151151
- name: Check for CI labels
152152
id: check-labels
153-
uses: actions/github-script@v7
153+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
154154
env:
155155
TESTING_FORMULAE: ${{needs.formulae_detect.outputs.testing_formulae}}
156156
ADDED_FORMULAE: ${{needs.formulae_detect.outputs.added_formulae}}
@@ -260,13 +260,13 @@ jobs:
260260
test-bot-formulae-args: ${{ steps.check-labels.outputs.test-bot-formulae-args }}
261261
test-bot-dependents-args: ${{ steps.check-labels.outputs.test-bot-dependents-args }}
262262
steps:
263-
- uses: actions/checkout@v4
263+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
264264
with:
265265
persist-credentials: false
266266

267267
- name: Check for CI labels
268268
id: check-labels
269-
uses: actions/github-script@v7
269+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
270270
env:
271271
TESTING_FORMULAE: ${{needs.formulae_detect.outputs.testing_formulae}}
272272
ADDED_FORMULAE: ${{needs.formulae_detect.outputs.added_formulae}}

0 commit comments

Comments
 (0)