-
Notifications
You must be signed in to change notification settings - Fork 0
Add CodeRabbit config to limit review frequency #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
| language: "en-US" | ||
| early_access: false | ||
|
|
||
| reviews: | ||
| # Only run reviews on direct commits to main, not on every PR commit | ||
| auto_review: | ||
| enabled: true | ||
| # Only review when PR is ready for review (not drafts) | ||
| drafts: false | ||
| # Require manual trigger for incremental reviews to save usage | ||
| base_branches: | ||
| - main | ||
|
|
||
| # Limit the scope of reviews | ||
| path_filters: | ||
| - "!**/*.md" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This excludes every Markdown file from automated reviews, including Useful? React with 👍 / 👎. |
||
| - "!**/*.txt" | ||
| - "!**/LICENSE" | ||
| - "!**/.gitignore" | ||
| - "!**/package-lock.json" | ||
| - "!**/yarn.lock" | ||
| - "!**/poetry.lock" | ||
| - "!**/*.lock" | ||
|
|
||
| # Keep reviews concise | ||
| request_changes_workflow: false | ||
| high_level_summary: true | ||
| poem: false | ||
| review_status: true | ||
| collapse_walkthrough: true | ||
|
|
||
| # Reduce review depth to save tokens | ||
| path_instructions: [] | ||
|
|
||
| chat: | ||
| auto_reply: true | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the intent is to require manual triggers after the initial review, this setting does not do it: CodeRabbit's
auto_incremental_reviewdefaults totrue, so every new push to an eligible PR is still reviewed automatically, andbase_branchesonly controls target-branch eligibility. Addauto_incremental_review: falseunderreviews.auto_reviewto actually stop per-push incremental reviews. Reference checked: https://docs.coderabbit.ai/configuration/auto-review#incremental-reviewUseful? React with 👍 / 👎.