Skip to content

fix: add zizmor config flag to pre-commit hook for CI parity#4

Merged
gamaware merged 1 commit into
mainfrom
fix/zizmor-precommit-config
Mar 15, 2026
Merged

fix: add zizmor config flag to pre-commit hook for CI parity#4
gamaware merged 1 commit into
mainfrom
fix/zizmor-precommit-config

Conversation

@gamaware
Copy link
Copy Markdown
Owner

Summary

  • Add --config zizmor.yml to the zizmor pre-commit hook entry so local and CI results match

Test plan

  • Pre-commit hook uses same config as CI zizmor job

Copilot AI review requested due to automatic review settings March 15, 2026 06:08
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 15, 2026

Warning

Rate limit exceeded

@gamaware has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 20 minutes and 22 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 22ca7e99-f0fd-4825-b65c-c0ab43fa5c8e

📥 Commits

Reviewing files that changed from the base of the PR and between e254c7a and 45ffd00.

📒 Files selected for processing (1)
  • .pre-commit-config.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/zizmor-precommit-config
📝 Coding Plan
  • Generate coding plan for human review comments

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 and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to ensure the local zizmor pre-commit hook runs with the same configuration as the repository’s CI zizmor job, reducing mismatched findings between developer machines and CI.

Changes:

  • Update the zizmor pre-commit hook command to pass an explicit config file (--config zizmor.yml).

You can also share your feedback on Copilot code review. Take the survey.

Comment thread .pre-commit-config.yaml
- id: zizmor
name: zizmor
entry: zizmor .github/workflows/
entry: zizmor --config zizmor.yml .github/workflows/
@gamaware gamaware merged commit 8a0ae5e into main Mar 15, 2026
14 checks passed
@gamaware gamaware deleted the fix/zizmor-precommit-config branch March 15, 2026 06:11
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.

2 participants