Repository navigation
Conversation
Run zizmor (GitHub Actions security linter) on changes to .github/ and fix the medium and high findings it reports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The e2e failure (all three |
|
Adversarial review (agent): Blockers: None in this diff. The red What I checked:
Nits:
|
Reword the advanced-security comment, drop persisted checkout credentials where flagged, and fold the new workflow into the existing zizmor job where one is hand-written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Answering the adversarial review (pushed in the second commit):
|
|
lgtm |
Why
zizmor flagged 0 high and 2 medium findings on
mainon 12-01: 1dependabot-cooldown, 1excessive-permissions. No template injection here today; the workflow keeps it that way. (Template injection lets anyone who can open a PR or name a branch run code with the workflow's token.)The standard way
zizmor is the de facto linter for GitHub Actions security; shorebirdtech/setup-shorebird already runs it. The new
.github/workflows/zizmor.ymlrunszizmorcore/zizmor-action(SHA-pinned, zizmor 1.33.1) on pull requests and pushes tomainthat touch.github/**, withmin-severity: mediumand online audits on. The workflow token ispermissions: {}at the top andcontents: readfor the job; checkout doesn't persist credentials.advanced-security: falsebecause Code Security is off on our private repos, so findings go to the job log instead of a SARIF upload.What this fixes
e2e.yamlgetspermissions: contents: read; it only checks out and runs the installers.dependabot-cooldownaudit asks for. Security updates still skip the cooldown.What could break
e2e.yamlnow runs with a read-only token. It doesn't call the GitHub API with it.Landing
Lands with
--adminonce a maintainer has LGTM'd, the adversarial review comment is answered, and required checks are green.🤖 Generated with Claude Code