summaryrefslogtreecommitdiff
path: root/.coderabbit.yaml
blob: 3fe3d8d33ec8019e5bc4f5485469516613fde898 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
inheritance: true
language: en-US
early_access: false
tone_instructions: >
  Concise, technical, no filler. Focus on correctness, security, performance,
  maintainability. Cite file paths and line numbers.

reviews:
  profile: chill
  request_changes_workflow: false
  high_level_summary: true
  high_level_summary_placeholder: "@coderabbitai summary"
  auto_title_placeholder: "@coderabbitai"
  review_status: true
  poem: false
  collapse_walkthrough: true
  changed_files_summary: true
  sequence_diagrams: false
  assess_linked_issues: true
  related_issues: true
  related_prs: true
  suggested_labels: false
  auto_apply_labels: false
  suggested_reviewers: false

  auto_review:
    enabled: true
    auto_incremental_review: true
    drafts: false
    base_branches:
      - current
      - sagitta
      - circinus
      - equuleus
      - crux
    ignore_title_keywords:
      - WIP
      - DO NOT MERGE
      - Bump
    # Skip auto-review for PRs authored by these accounts. Manual
    # `@coderabbitai review` still works if a human asks for one. The list
    # targets bots that open mechanical PRs whose content was already
    # reviewed upstream (e.g. Mergify cherry-picks the merge commit of an
    # already-reviewed source PR, so re-reviewing the backport adds no
    # signal and burns rate limit).
    ignore_usernames:
      - "mergify[bot]"

  path_filters:
    - "!**/*.lock"
    - "!**/package-lock.json"
    - "!**/yarn.lock"
    - "!**/pnpm-lock.yaml"
    - "!**/poetry.lock"
    - "!**/uv.lock"
    - "!**/Cargo.lock"
    - "!**/dist/**"
    - "!**/build/**"
    - "!**/node_modules/**"
    - "!**/__pycache__/**"
    - "!**/*.pyc"
    - "!**/*.egg-info/**"
    - "!**/.venv/**"
    - "!**/.tox/**"
    - "!**/.pytest_cache/**"
    - "!**/htmlcov/**"
    - "!**/coverage/**"
    - "!**/.worktrees/**"
    - "!**/*.snap"
    - "!**/.terraform/**"
    - "!**/*.tfstate*"
    - "!**/.terragrunt-cache/**"

  finishing_touches:
    docstrings:
      enabled: true
    unit_tests:
      enabled: true

  tools:
    github-checks: { enabled: true, timeout_ms: 90000 }
    gitleaks: { enabled: true }
    semgrep: { enabled: true }
    languagetool: { enabled: true, level: default, enabled_only: false }
    markdownlint: { enabled: true }
    yamllint: { enabled: true }
    actionlint: { enabled: true }
    ast-grep: { essential_rules: true }

chat:
  auto_reply: true

knowledge_base:
  opt_out: false
  learnings: { scope: auto }
  issues: { scope: auto }
  pull_requests: { scope: auto }