Commit cca591d
ci: clear zizmor findings on image-publish.yml
Pedantic-persona zizmor (the form CI runs under
``--persona pedantic --format github``) was failing with two findings
on the image-publish workflow:
* ``cache-poisoning`` (high) — ``astral-sh/setup-uv`` enables its cache
by default. In a workflow that pushes signed artifacts to GHCR, a
poisoned cache could influence the publishing step. Set
``enable-cache: false`` on this workflow's setup-uv invocation; the
other setup-uv calls (lint, tests, env-examples, security, etc.)
aren't publishing workflows and keep caching for speed.
* ``undocumented-permissions`` (low) — ``packages: write`` at job
level had no explanatory comment. Added the same style of inline
comment release-images.yml already uses
(`docker/login-action + build-push-action push to GHCR`).
``zizmor --persona pedantic --format github`` exits 0 after the fix.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Zhengyuan Su <su.zhengyuan@u.nus.edu>1 parent 5a3a392 commit cca591d
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
0 commit comments