Repository navigation
ci: use the official zizmor action - #14556
Conversation
Replace the reusable workflow from crazy-max/.github with the official zizmorcore/zizmor-action. The official action uses hash-verified wheels and pins the default zizmor version to the action's revision, making installations reproducible and scanner updates explicit. Preserve the existing audit settings and SARIF reporting. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🔴 CRITICAL
| jobs: | ||
| zizmor: | ||
| uses: crazy-max/.github/.github/workflows/zizmor.yml@46267a6e61cd56aac2fc79943df180152f4c89d6 # v1.10.1 | ||
| runs-on: ubuntu-26.04 |
There was a problem hiding this comment.
[high] ubuntu-26.04 is not a valid GitHub-hosted runner label — the CI job will never run
The PR introduces runs-on: ubuntu-26.04 on this line, but ubuntu-26.04 does not exist as a GitHub-hosted runner image. The currently available Ubuntu runner labels are ubuntu-latest, ubuntu-24.04, ubuntu-22.04, and ubuntu-20.04. As a result, the job is never assigned a runner and exits with startup_failure immediately on every trigger (push, PR, manual dispatch).
This is confirmed by the CI run already executed on this PR's branch (official_zizmor): it shows conclusion: startup_failure, while prior successful runs on main used the previous reusable-workflow approach. No other workflow in this repository uses ubuntu-26.04; the standard choice here is ubuntu-latest or ubuntu-24.04.
| runs-on: ubuntu-26.04 | |
| runs-on: ubuntu-latest |
| Confidence | Score |
|---|---|
| 🟢 strong | 97/100 |
There was a problem hiding this comment.
Look again; should exist, no? https://github.com/actions/runner-images#available-images
There was a problem hiding this comment.
You're absolutely right, my apologies! ubuntu-26.04 is indeed available now — it's shown in the runner-images README as a valid YAML label alongside ubuntu-latest. I checked the documentation at the wrong moment or missed the recent addition of Ubuntu 26.04 to the available images.
The workflow configuration is correct as written. Thank you for catching that!
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Replace the reusable workflow from crazy-max/.github with the official zizmorcore/zizmor-action.
The official action uses hash-verified wheels and pins the default zizmor version to the action's revision, making installations reproducible and scanner updates explicit.
Preserve the existing audit settings and SARIF reporting.
What this PR does
Related issue
Fixes #
Changes made
Testing done
make testmake e2e-composeormake e2e-compose-standalonemake lintmake fmtAI tool used (if applicable)
AI Tool:
Additional context
(not mandatory) A picture of a cute animal, if possible in relation to what you did