From 2249a4fc41c37dd57b9bc678902f2efc7b31c693 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 27 May 2026 17:44:11 +0000 Subject: [PATCH] Add CodeRabbit config to limit review frequency Configure CodeRabbit to: - Skip draft PRs to avoid reviewing work-in-progress - Exclude documentation and lock files from reviews - Disable poems and request_changes workflow for concise output - Only auto-review PRs targeting main branch Slack thread: https://scalinitybio.slack.com/archives/C0A5ET7ANLA/p1779903789472939 https://claude.ai/code/session_019VigqCmPL8XtZWdXw63NHg --- .coderabbit.yaml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .coderabbit.yaml 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