Repository navigation
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
36 lines (34 loc) · 1.71 KB
/
Copy path.coderabbit.yaml
File metadata and controls
36 lines (34 loc) · 1.71 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
31
32
33
34
35
36
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
#
# base_branches defaults to an empty list, which means only pull requests
# targeting the default branch are reviewed automatically. This project uses
# stacked pull requests, where every layer above the bottom one targets the
# branch below it, so leaving the default in place is the difference between
# "reviewed" and "merged unseen" for most of a stack.
language: en-US
reviews:
# The high level summary goes into the walkthrough comment instead of the
# pull request description, which is the whole point: this repository squash
# merges, so the description becomes the commit message on main, and a
# generated block left in it lands permanently in the history. That is not
# hypothetical. It happened on pull request 832: the block was stripped
# before merging, CodeRabbit wrote it again, and the merge carried it into
# main where editing the description can no longer remove it.
#
# This is the fix rather than the check that catches it. Stripping the block
# by hand loses a race that runs on every review, and a gate that fails on
# something a bot does every time is a gate people learn to click past. The
# summary is worth having, so it is relocated rather than turned off with
# high_level_summary: false.
high_level_summary_in_walkthrough: true
auto_review:
enabled: true
# Any base branch, so a stacked pull request is reviewed on its own diff
# rather than skipped for not targeting main.
base_branches:
- ".*"
# Bot commits (version stamping, generated manifests, dependency bumps)
# carry no reviewable intent.
ignore_usernames:
- "github-actions[bot]"
- "dependabot[bot]"