Skip to content

CI: let zizmor follow the version the action pins - #450

Merged
crypt0rr merged 1 commit into
mainfrom
ci/zizmor-follow-action
Dec 1, 2026
Merged

crypt0rr merged 1 commit into
mainfrom
ci/zizmor-follow-action

Conversation

@jackspiering

Copy link
Copy Markdown
Collaborator

Description

workflow-lint.yml sets the zizmor-action version input to 1.30.1. Dependabot bumps the action's commit pin but never that input, so zizmor stayed at 1.30.1 even after #449 moved the action to v0.9.2, which ships zizmor 1.33.1. This PR removes the input and adds a comment that explains why it should stay out.

The pin made sense when it was added in #376. zizmor-action v0.6.4 ran zizmor from a Docker image, and latest meant the newest image at run time. Since then the action installs zizmor from support/locks/zizmor-latest.txt in its own tree, with every wheel pinned by hash. Our pin on the action's commit therefore fixes the zizmor version, and each Dependabot bump of the action now updates zizmor as well.

There are no new findings today. 1.30.1 and 1.33.1 both report nothing on our workflows and dependabot.yml. With 1.33.1, the "Workflow lint" check gets:

  • the new dangerous-checkout audit;
  • template-injection fixes for values wrapped in fromJSON(...) or case(...);
  • dependabot-cooldown fixes, relevant to the cooldown: block in dependabot.yml.

Related Issues

  • None.

Verification

  • docker compose config --quiet from each changed service directory: not applicable, no service changed.
  • Stack start and Tailnet test: not applicable, no service changed.
  • Main function of the service: not applicable, no service changed.
  • rumdl check --config .markdownlint.yml . on the whole repository (rumdl 0.3.6), and git diff --check origin/main
  • actionlint 1.7.12 reports nothing.
  • zizmor 1.33.1 with GitHub API access reports no findings (1 suppressed, as before). It audits the same four files as 1.30.1.
  • Confirmed in zizmor-action at 1b4550e (v0.9.2) that latest is the default and that support/locks/zizmor-latest.txt pins zizmor==1.33.1 by hash.
  • python3 .github/scripts/build-arcane-registry.py leaves arcane-registry.json unchanged.

Impact on existing users

  • None.

Checklist

  • I have performed a self-review of my code and followed the templates structure.
  • I did not commit a working auth key, password, token, or other credential.
  • The service README uses the headings of the template, in the same order, and is up to date. (No README changed.)
  • I added, removed, or renamed the service in the root README.md, in alphabetical order, or this PR does not change the list of services.
  • I ran python3 .github/scripts/build-arcane-registry.py and committed arcane-registry.json if it changed. A new service has the icon from selfh.st/icons in its x-arcane block, or no block when selfh.st has none.

Additional Context

  • "Workflow lint" is not a required check. A new zizmor finding that arrives with a future Dependabot bump shows as a failed check, but does not block the merge.

workflow-lint.yml set the zizmor version input to 1.30.1. Dependabot bumps the action's commit pin but never that input, so zizmor stayed at 1.30.1 while the action moved to v0.9.2, which ships 1.33.1.

The pin came in when zizmor-action v0.6.4 ran zizmor from a Docker image, where "latest" meant the newest image at run time. Since then the action installs zizmor from a lock file in its own tree, pinned by hash, so its commit pin fixes the zizmor version. Without the input, each Dependabot bump of the action also updates zizmor.
@crypt0rr
crypt0rr merged commit 6cfa52d into main Dec 1, 2026
3 checks passed
@crypt0rr
crypt0rr deleted the ci/zizmor-follow-action branch December 1, 2026 21:27
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.

2 participants