Skip to content

Commit 74979fa

Browse files
oschwaldclaude
andcommitted
Resolve zizmor findings in CI workflows
- Add missing 'v' prefix to action pin version comments (ref-version-mismatch). - Disable uv caching in the release workflow (cache-poisoning); dependency caching is unnecessary for one-off release builds. Part of STF-557. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent fcc9326 commit 74979fa

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
persist-credentials: false
2424

2525
- name: Install the latest version of uv
26-
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # 8.1.0
26+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
27+
with:
28+
# Disable caching in the release workflow (zizmor cache-poisoning).
29+
enable-cache: false
2730

2831
- name: Build
2932
run: uv build
@@ -47,4 +50,4 @@ jobs:
4750
name: artifact
4851
path: dist
4952

50-
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # 1.14.0
53+
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
submodules: true
2424
persist-credentials: false
2525
- name: Install the latest version of uv
26-
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # 8.1.0
26+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
2727
- name: Install tox
2828
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv --with tox-gh
2929
- name: Install Python

0 commit comments

Comments
 (0)