Skip to content

Lint workflows with actionlint and zizmor - #118

Merged
alefcastelo merged 2 commits into
mainfrom
chore/workflow-lint
Dec 1, 2026
Merged

alefcastelo merged 2 commits into
mainfrom
chore/workflow-lint

Conversation

@alefcastelo

Copy link
Copy Markdown
Member

Adds a workflow-lint CI job running actionlint v1.7.12 and zizmor 1.33.1, and fixes what zizmor flagged:

  • release.yml: contents: write + packages: write moved from the whole workflow to the goreleaser job only (install gets contents: read, image nothing — it pulls the public image). The release build no longer restores the Go cache, so a poisoned cache can't reach published binaries. Release output is unchanged.
  • All checkouts set persist-credentials: false, except coverage-badge, which pushes the badge branch with them — that one carries an inline zizmor ignore with the reason.
  • Dependabot: 7-day cooldown on each ecosystem.

The new job isn't a required check yet; add workflow-lint to the ruleset if you want it enforced.

🤖 Generated with Claude Code

Scope release permissions to the job that needs them, drop the Go cache
from the release build, stop persisting checkout credentials, and give
Dependabot a 7-day cooldown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 51 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8864351 and c5a531d.

Files selected for processing: 3

  • .github/dependabot.yml
  • .github/workflows/ci.yml
  • .github/workflows/release.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@alefcastelo
alefcastelo merged commit e733544 into main Dec 1, 2026
14 checks passed
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.

1 participant