Skip to content

ci: add zizmor GitHub Actions security lint - #471

Merged
robjtede merged 3 commits into
mainfrom
chore/add-zizmor-lint
Aug 6, 2026
Merged

ci: add zizmor GitHub Actions security lint#471
robjtede merged 3 commits into
mainfrom
chore/add-zizmor-lint

Conversation

@robjtede

@robjtede robjtede commented Aug 5, 2026

Copy link
Copy Markdown
Member

Adds zizmor security analysis to the existing lint workflow. The job uses read-only permissions, disables checkout credential persistence, and emits GitHub annotations without uploading SARIF to Advanced Security.

Summary by CodeRabbit

  • Chores
    • Added automated security checks for workflow configurations, with clearer annotations for detected issues.
    • Improved release automation by applying more restrictive permissions and safer credential handling.
    • Added a seven-day waiting period for grouped dependency updates to allow issues to be identified before changes are applied.
    • Removed automatic dependency pull request processing to support additional review of updates.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@robjtede, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 42 minutes

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

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a4c2b444-415f-4b4d-bbb8-ff2fb7e4d132

📥 Commits

Reviewing files that changed from the base of the PR and between 6b08f7a and 11b40e7.

📒 Files selected for processing (1)
  • .github/workflows/release.yml
📝 Walkthrough

Walkthrough

The changes add workflow security linting, scope release permissions, disable persisted checkout credentials, pass release data through environment variables, and add seven-day Dependabot cooldowns. The Dependabot auto-merge workflow is also removed.

Changes

Workflow security and update controls

Layer / File(s) Summary
Add workflow security checks
.github/workflows/lint.yml
The lint workflow adds a pinned zizmor job with read-only permissions and annotations.
Scope release workflow permissions
.github/workflows/release.yml
Release jobs now use job-specific permissions, disable persisted checkout credentials, and pass release metadata through environment variables.
Configure dependency update timing
.github/dependabot.yml, .github/workflows/dependabot.yml
Dependabot adds seven-day cooldowns for GitHub Actions, Nix, and Cargo updates. The Dependabot auto-merge workflow is removed.

Estimated code review effort: 3 (Moderate) | ~20 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding zizmor security linting to GitHub Actions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/add-zizmor-lint

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

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
.github/workflows/release.yml (1)

15-18: 🔒 Security & Privacy | 🔵 Trivial | ⚡ Quick win

Add a default-deny workflow permission baseline.

The patch scopes the current jobs, but it removes the workflow-level permission block. Add permissions: {} at workflow scope so future jobs do not inherit the repository default. GitHub supports an empty permission map for this purpose. (docs.github.com)

Proposed hardening
 on:
   push:
     branches: [main]
 
+permissions: {}
+
 jobs:
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/release.yml around lines 15 - 18, Add a workflow-level
permissions baseline in release.yml by setting permissions to an empty map
alongside the top-level workflow configuration, while preserving the existing
job-level permissions for required access.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In @.github/workflows/release.yml:
- Around line 15-18: Add a workflow-level permissions baseline in release.yml by
setting permissions to an empty map alongside the top-level workflow
configuration, while preserving the existing job-level permissions for required
access.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 01a9db8d-57a2-4bcd-9fa6-4adbf76af824

📥 Commits

Reviewing files that changed from the base of the PR and between 138404c and 6b08f7a.

📒 Files selected for processing (3)
  • .github/dependabot.yml
  • .github/workflows/dependabot.yml
  • .github/workflows/release.yml
💤 Files with no reviewable changes (1)
  • .github/workflows/dependabot.yml

@robjtede
robjtede merged commit 54b5f2a into main Aug 6, 2026
12 checks passed
@robjtede
robjtede deleted the chore/add-zizmor-lint branch August 6, 2026 11:34
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