Add local commit message hook - #2
Conversation
|
Warning Review limit reached
Next review available in: 16 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe commit-message checker now validates either revision ranges or individual commit-message files. File input is cleaned of Git comments and scissors sections before shared subject, description, and attribution checks run. The CLI adds mutually exclusive message-file and revision-range modes with distinct success output. A pre-commit Possibly related PRs
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
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
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 3780e821-822e-48d9-8d43-5969d2668d18
📒 Files selected for processing (5)
.pre-commit-hooks.yamlREADME.mdcheck-commit-messages/README.mdcheck-commit-messages/check.pycheck-commit-messages/test_check.py
Projects need immediate feedback from the same commit-message policy enforced in pull requests. Expose the checker through pre-commit so local hooks and CI share one implementation.
a34d0fd to
6c10627
Compare
Why
Approach
commit-msghook so it validates the proposed message before Git creates the commit.