fix: enhance conventional title validation to support scoped commits#848
fix: enhance conventional title validation to support scoped commits#848
Conversation
- Replace simple prefix matching with regex-based pattern matching - Add support for conventional commit scopes (e.g., fix(scope): message) - Import re module for regex functionality - Maintain backward compatibility with non-scoped commits This change allows the conventional title checker to validate both: - fix: message (without scope) - fix(api): message (with scope)
|
Warning Rate limit exceeded@myakove-bot has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 19 minutes and 0 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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. 📒 Files selected for processing (1)
WalkthroughReplaced the PR title validation in run_conventional_title_check to use a regex search instead of a startswith check, allowing matches where the allowed prefix appears anywhere before a colon. Added an import for re. No public interfaces were changed. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related issues
Possibly related PRs
Suggested labels
Suggested reviewers
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
…fix-conventional-title-match
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
/approve |
|
New container for ghcr.io/myk-org/github-webhook-server:latest published |
This change allows the conventional title checker to validate both:
Summary by CodeRabbit