Skip to content

CI: ignore zizmor unpinned-tools false positive on setup-just - #45

Merged
woutervh merged 2 commits into
mainfrom
ci/zizmor-unpinned-tools
Nov 3, 2026
Merged

woutervh merged 2 commits into
mainfrom
ci/zizmor-unpinned-tools

Conversation

@woutervh

@woutervh woutervh commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Fixes code-scanning alerts #1, #3, #9 (zizmor/unpinned-tools on extractions/setup-just).

just is pinned to 1.58.0 via env.JUST_VERSION, but zizmor doesn't evaluate the expression and reports the tool as possibly unpinned. This adds an inline # zizmor: ignore[unpinned-tools] comment to the just-version: line in linting.yaml, testing.yaml and releasing.yaml. The JUST_VERSION env var stays alongside UV_VERSION. No behaviour change.

Verified locally: zizmor --offline .github/workflows/ (v1.31.1): 3 findings → none (3 ignored).

https://claude.ai/code/session_01X16aaEYzUw6qwf6co68x5d

zizmor cannot resolve ${{ env.JUST_VERSION }} and reports setup-just as
possibly installing an unpinned tool (code-scanning alerts #1, #3, #9).
Inline the literal version and drop the now-unused JUST_VERSION env var.

Claude-Session: https://claude.ai/code/session_01X16aaEYzUw6qwf6co68x5d
…stead

Restore the JUST_VERSION env var next to UV_VERSION and mark the
setup-just steps with an inline zizmor ignore: just is pinned via the env
var, which zizmor cannot evaluate.

Claude-Session: https://claude.ai/code/session_01X16aaEYzUw6qwf6co68x5d
@woutervh woutervh changed the title CI: inline pinned just version (zizmor unpinned-tools) CI: ignore zizmor unpinned-tools false positive on setup-just Nov 3, 2026
@woutervh
woutervh merged commit e37c09f into main Nov 3, 2026
17 checks passed
@woutervh
woutervh deleted the ci/zizmor-unpinned-tools branch November 3, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant