Skip to content

ci: use the official zizmor action - #14556

Merged
ndeloof merged 1 commit into
docker:mainfrom
thaJeztah:official_zizmor
Nov 25, 2026
Merged

ndeloof merged 1 commit into
docker:mainfrom
thaJeztah:official_zizmor

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

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

  • Unit tests pass: make test
  • E2E tests pass: make e2e-compose or make e2e-compose-standalone
  • Linting passes: make lint
  • Code formatted: make fmt
  • Manually tested (describe):

AI tool used (if applicable)

AI Tool:

Additional context

(not mandatory) A picture of a cute animal, if possible in relation to what you did

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>
@thaJeztah
thaJeztah requested review from a team as code owners November 25, 2026 16:40

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🔴 CRITICAL

jobs:
zizmor:
uses: crazy-max/.github/.github/workflows/zizmor.yml@46267a6e61cd56aac2fc79943df180152f4c89d6 # v1.10.1
runs-on: ubuntu-26.04

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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.

Suggested change
runs-on: ubuntu-26.04
runs-on: ubuntu-latest
Confidence Score
🟢 strong 97/100

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

codecov Bot commented Nov 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ndeloof
ndeloof merged commit 78bad17 into docker:main Nov 25, 2026
66 of 67 checks passed
@thaJeztah
thaJeztah deleted the official_zizmor branch November 25, 2026 21:16
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.

4 participants