Skip to content

ci: run zizmor through trunk, drop custom validate-workflows harness - #20

Merged
jaysin586 merged 1 commit into
mainfrom
ci/zizmor-via-trunk
Sep 2, 2026
Merged

jaysin586 merged 1 commit into
mainfrom
ci/zizmor-via-trunk

Conversation

@jaysin586

Copy link
Copy Markdown
Contributor

Moves workflow security scanning off the bespoke validate-workflows job and onto trunk, matching beye-ai/genai-connector#155.

Why

validate-workflows.yml resolved 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-repository audit — it broke builds across the fleet on its own.

Changes

  • 🔄 zizmor via trunk, pinned to 1.30.0. New audits now arrive through a deliberate version bump, not a surprise red build.
  • 🗑️ validate-workflows.yml removed — the custom harness it replaces.
  • 🔧 Trunk plugin source bumped to v1.11.0.
  • ⛔ actionlint disabled. Its latest release (1.7.12) rejects the $/ 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

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>
@jaysin586 jaysin586 added the skip-publish This is something important, but we dont want to publish it label Sep 2, 2026
@jaysin586
jaysin586 merged commit 6ed32d3 into main Sep 2, 2026
3 checks passed
@jaysin586
jaysin586 deleted the ci/zizmor-via-trunk branch September 2, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-publish This is something important, but we dont want to publish it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant