Repository navigation
ci: run zizmor through trunk, drop custom validate-workflows harness - #20
Merged
Merged
Conversation
The `validate-workflows` job installed the latest zizmor from PyPI on every run, so a new upstream audit could turn CI red with no change in the repo -- which is exactly what zizmor 1.30.0's `self-repository` audit did fleet-wide. zizmor now runs as a pinned trunk linter (1.30.0), so future audit additions arrive through a deliberate version bump instead of a surprise red build. actionlint is disabled because its latest release (1.7.12) rejects the `$/` self-repository form that zizmor asks for; GitHub's runner is the authority there, not the linter. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves workflow security scanning off the bespoke
validate-workflowsjob and onto trunk, matching beye-ai/genai-connector#155.Why
validate-workflows.ymlresolved the latest zizmor from PyPI on every run:LATEST_VERSION=$(curl -s https://pypi.org/pypi/zizmor/json | ...)So any zizmor release could turn CI red with no commit in the repo. That is exactly what happened when 1.30.0 added the
self-repositoryaudit — it broke builds across the fleet on its own.Changes
1.30.0. New audits now arrive through a deliberate version bump, not a surprise red build.validate-workflows.ymlremoved — the custom harness it replaces.v1.11.0.$/self-repository form zizmor asks for; GitHub's runner is the authority, not the linter. Re-enable once actionlint accepts it.Note
This changes where zizmor runs, not what it finds. Pre-existing findings in workflow files are unchanged and are not addressed here.
🤖 Generated with Claude Code