ci: lint workflows with zizmor #279

Merged
Defame1297 merged 2 commits from ci/zizmor into main 2026-11-21 18:58:07 +00:00
2 Commits
Author SHA1 Message Date
Defame1297andClaude Opus 5.5 308589e7f9 ci: name the single credential check in the image step and its log
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 59s
Molecule / molecule (pull_request) Successful in 1s
The step no longer chooses between credentials, so its name says it
checks the push token, and the log records that the probe passed. The
Dockerfile says why the smoke workflow sets `permissions: {}`.

Refs #145

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 18:53:41 +00:00
Defame1297andClaude Opus 5.5 e45b92551a ci: lint workflows with zizmor
Add zizmor (v1.32.0, pinned by SHA) as a pre-commit hook over
.gitea/workflows, offline at its default level; it fails on
pull_request_target and on ${{ }} expanded into run:. The ci image
bakes and smoke-tests the new hook environment, so its version moves
to 0.2.32.

image.yml drops `packages: write` and the job-token probe: Gitea 28
refuses the job token for organisation packages, and the latest build
used the org push token. One probe of that token now fails fast.

Refs #145

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 18:52:22 +00:00