Skip to content

Commit 9c596da

Browse files
committed
ci: bump zizmor-action to v0.5.6 and disable uv cache in release build
The newer zizmor (1.25.x, shipped by zizmor-action v0.5.6) adds a cache-poisoning audit that flags astral-sh/setup-uv with enable-cache: true in a release: published-triggered job. Disable the cache for the release-build job - release builds are infrequent and a cold cache is fine - so the new security workflow lands clean.
1 parent eb9745b commit 9c596da

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install uv
2121
uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 # v7.2.1
2222
with:
23-
enable-cache: true
23+
enable-cache: false
2424
version: 0.9.5
2525

2626
- name: Set up Python 3.12

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
persist-credentials: false
2323

2424
- name: Run zizmor 🌈
25-
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
25+
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6

0 commit comments

Comments
 (0)