Conversation
📝 WalkthroughSummary by CodeRabbitChores
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughThis PR updates GitHub Actions workflow configurations and pre-commit hooks. The macOS workflow removes MLIR references from compiler documentation. The Ubuntu workflow capitalizes the workflow name and updates the default runner to ubuntu-24.04. The pre-commit configuration introduces priority-based hook execution, adds new checks (capitalization rules, BibTeX tidying, security analysis with zizmor), and reorganizes existing hooks into a multi-tier structure. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.pre-commit-config.yaml:
- Around line 17-29: Update the section header "Priority 0: Fast validation and
independent fixers" so it no longer implies all hooks are priority 0;
specifically remove "independent fixers" (or change to "Priority 0 and 1: Fast
validation") to reflect that hooks like end-of-file-fixer and
trailing-whitespace are priority 1 while check-merge-conflict is priority 0;
locate the header string and the hook ids end-of-file-fixer and
trailing-whitespace to confirm the wording change matches the actual priorities.
Description
This PR updates
.pre-commit-config.ymlto make use ofprek's priority feature.Checklist:
I have added appropriate tests that cover the new/changed functionality.I have updated the documentation to reflect these changes.I have added entries to the changelog for any noteworthy additions, changes, fixes, or removals.I have added migration instructions to the upgrade guide (if needed).