diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 0000000..7725dd0 --- /dev/null +++ b/.coderabbit.yaml @@ -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" + - "!**/*.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