Repository navigation
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
30 lines (30 loc) · 1.69 KB
/
Copy path.coderabbit.yaml
File metadata and controls
30 lines (30 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
# Keys not set here come from the next config level up (central or organization settings)
# instead of CodeRabbit's defaults, as far as each level also enables inheritance.
inheritance: true
reviews:
# why: scripts/merge-gate.cjs reads the "CodeRabbit" commit status, so keep that surface.
review_progress: false
commit_status: true
fail_commit_status: true
# why: agents open PRs as Matthew, and `@coderabbitai resolve` approved #331 without a review.
allow_author_approval: false
request_changes_workflow: true
auto_review:
# why: the allowance is about one review an hour, shared by every agent since all PRs open as
# Matthew, and opening a PR spent one even when the land skill only needed a Codex review.
enabled: false
# why: every push spent a review, and agent fix rounds used up the per-account limit; ask with
# `@coderabbitai full review` once a PR's fixes are pushed.
auto_incremental_review: false
# why: the default pauses reviews after 5 commits, which quietly blocks the merge gate.
auto_pause_after_reviewed_commits: 0
path_instructions:
- path: "**/*"
instructions: >-
Request changes on each added `why:` comment unless it names what breaks that no test
catches: an installed client or version, a stored data shape, a coupled file or config,
a platform bug, or a race. Ask to delete comments that describe what code does, explain
what a field or undefined means (put that in a name or type), narrate a test, recount PR
history, or restate expand-and-contract. If a test could enforce the rule, ask for the
test instead.