Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
yocaba
added this pull request to stack #69
October 20, 2026 13:52
yocaba
force-pushed
the
feat/zizmor-pin-audit
branch
3 times, most recently
from
October 20, 2026 20:04
89e5596 to
c4c194c
Compare
yocaba
force-pushed
the
feat/zizmor-pin-audit
branch
from
October 20, 2026 20:24
c4c194c to
f751a0c
Compare
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.
What
Adds
audit-action-pins.yml, a reusable workflow (also run on dev-kit's PRs) that runs zizmor's online audits and fails on impostor commits and on version comments that don't match their SHA. On pull requests it only fails on pins the PR adds or changes; aworkflow_dispatchrun audits every pin.Closes #47
Why
update-action-pinsonly checks that actions are pinned to a SHA, not whether that SHA can be trusted.A pinned SHA's code never changes, so a finding on a pin the PR doesn't touch means upstream moved a tag. Auditing every pin would block every PR until it's fixed, e.g. on each release of
cachix/cachix-action, which movesv17.known-vulnerable-actions, which #47 asks for, is left out: Renovate bumps vulnerable pins, a bump that is still vulnerable would block the automerged patch & digest group, and an advisory without a fixed version would only block merges. Advisories on existing pins call for alerting, not a merge gate.
Testing
scripts/test-audit-action-pins.shruns the filter step and the step listing the lines a PR changes from the workflow file.github/passes; the tree before chore(deps): update dependencies (patch & digest) #60 fails on three mismatched comments; a test workflow fails on an impostoractions/checkoutcommitNotes for reviewers
zizmor.ymlare not honored.workflow_dispatchfor that.Checklist