Skip to content

Commit 88e2410

Browse files
authored
chore: hash-pin all workflow versions (#18103)
Addresses https://woodruffw.github.io/zizmor/audits/#unpinned-uses Thanks `gha-update`! Signed-off-by: Mike Fiedler <[email protected]>
1 parent 63274ad commit 88e2410

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
id-token: write
2323
steps:
2424
- name: Check out repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
with:
2727
persist-credentials: false
2828
- name: Set up Depot CLI
29-
uses: depot/setup-action@v1
29+
uses: depot/setup-action@b0b1ea4f69e92ebf5dea3f8713a1b0c37b2126a5 # v1.6.0
3030
- name: Build image
3131
id: build
32-
uses: depot/build-push-action@v1
32+
uses: depot/build-push-action@636daae76684e38c301daa0c5eca1c095b24e780 # v1.14.0
3333
with:
3434
save: true
3535
build-args: |
@@ -87,12 +87,12 @@ jobs:
8787
name: ${{ matrix.name }}
8888
steps:
8989
- name: Check out repository
90-
uses: actions/checkout@v4
90+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9191
with:
9292
persist-credentials: false
9393
- name: Cache mypy results
9494
if: ${{ (matrix.name == 'Lint') }}
95-
uses: actions/cache@v4
95+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
9696
with:
9797
path: |
9898
dev/.mypy_cache
@@ -122,13 +122,13 @@ jobs:
122122
options: --health-cmd "pg_isready --username=postgres --dbname=postgres" --health-interval 10s --health-timeout 5s --health-retries 5
123123
steps:
124124
- name: Check out repository
125-
uses: actions/checkout@v4
125+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
126126
with:
127127
persist-credentials: false
128128
- name: Dotenv Action
129129
# We need to load the environment variables to run the CLI
130130
id: dotenv
131-
uses: falti/dotenv-action@v1
131+
uses: falti/dotenv-action@a33be0b8cf6a6e6f1b82cc9f3782061ab1022be5 # v1.1.4
132132
with:
133133
path: dev/environment
134134
export-variables: true

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4242
with:
4343
persist-credentials: false
4444

4545
- name: Set up Python
4646
if: matrix.language == 'python'
47-
uses: actions/setup-python@v5
47+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4848

4949
- name: Install dependencies
5050
# Needed for pycurl
@@ -54,7 +54,7 @@ jobs:
5454
5555
# Initializes the CodeQL tools for scanning.
5656
- name: Initialize CodeQL
57-
uses: github/codeql-action/init@v3
57+
uses: github/codeql-action/init@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
5858
with:
5959
languages: ${{ matrix.language }}
6060
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -68,7 +68,7 @@ jobs:
6868
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6969
# If this step fails, then you should remove it and run the build manually (see below)
7070
- name: Autobuild
71-
uses: github/codeql-action/autobuild@v3
71+
uses: github/codeql-action/autobuild@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
7272

7373
# ℹ️ Command-line programs to run using the OS shell.
7474
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -81,6 +81,6 @@ jobs:
8181
# ./location_of_script_within_repo/buildscript.sh
8282

8383
- name: Perform CodeQL Analysis
84-
uses: github/codeql-action/analyze@v3
84+
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
8585
with:
8686
category: "/language:${{matrix.language}}"

.github/workflows/combine-prs.yml

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

2727
steps:
2828
- name: Use GitHub App Token
29-
uses: wow-actions/[email protected]
29+
uses: wow-actions/use-app-token@9e8487c993ab4085b2dd8cb90ab446b6a18cf834 # v2.1.1
3030
id: generate_token
3131
with:
3232
app_id: ${{ secrets.COMBINE_PRS_APP_ID }}
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: combine-prs
3737
id: combine-prs
38-
uses: github/[email protected]
38+
uses: github/combine-prs@2909f404763c3177a456e052bdb7f2e85d3a7cb3 # v5.2.0
3939
with:
4040
github_token: ${{ steps.generate_token.outputs.BOT_TOKEN }}
4141
ignore_label: ${{ github.event.inputs.ignoreLabel || 'blocked' }}

.github/workflows/dev-env-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
# TODO: Should we test on other platforms like Windows and Mac?
1111
runs-on: ubuntu-24.04
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414
with:
1515
persist-credentials: false
1616
- run: make build

.github/workflows/node-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
name: ${{ matrix.name }}
2828
steps:
2929
- name: Check out repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131
with:
3232
persist-credentials: false
33-
- uses: actions/setup-node@v4
33+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3434
with:
3535
node-version: 24.0.0
3636
cache: 'npm'

.github/workflows/zizmor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
actions: read
2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
persist-credentials: false
2626
- name: Setup Python
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2828
- name: Run zizmor
2929
run: pipx run zizmor --format sarif . > results.sarif
3030
- name: Upload SARIF file
31-
uses: github/codeql-action/upload-sarif@v3
31+
uses: github/codeql-action/upload-sarif@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
3232
with:
3333
# Path to SARIF file relative to the root of the repository
3434
sarif_file: results.sarif

0 commit comments

Comments
 (0)