Skip to content

Commit 8161b6c

Browse files
committed
Also clean up zizmor warnings
1 parent 08531de commit 8161b6c

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/cla.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
steps:
2525
- name: "CLA Assistant"
2626
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
27-
uses: contributor-assistant/github-action@v2.6.1
27+
# https://github.com/contributor-assistant/github-action/releases/tag/v2.6.1
28+
uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08
2829
env:
2930
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3031
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_PAT }}

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
with:
2020
persist-credentials: false
2121

22-
- uses: pdm-project/setup-pdm@v4
22+
# https://github.com/pdm-project/setup-pdm/releases/tag/v4.4
23+
- uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0
2324
with:
2425
python-version: 3.12
2526
cache: true

.github/workflows/scan-workflows.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ jobs:
2727
persist-credentials: false
2828

2929
- name: Install the latest version of uv
30-
uses: astral-sh/setup-uv@v5
30+
# https://github.com/astral-sh/setup-uv/releases/tag/v6.1.0
31+
uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb
3132

3233
- name: Run zizmor 🌈
33-
run: uvx zizmor --format sarif . > results.sarif
34+
# Only scan this repo's workflows, not anything in submodules
35+
run: uvx zizmor==1.8.0 --format sarif .github > results.sarif
3436
env:
3537
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3638

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ jobs:
121121
# Use latest Python, so it understands all syntax.
122122
python-version: "3.13"
123123

124-
- uses: hynek/setup-cached-uv@v2
124+
# https://github.com/hynek/setup-cached-uv/releases/tag/v2.3.0
125+
- uses: hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817
125126

126127
- uses: actions/download-artifact@v4
127128
with:

0 commit comments

Comments
 (0)