Skip to content

Commit 93ca1e5

Browse files
Merge pull request #3035 from tssurya/add-coderabbit-ai-configuration
CORENET-7297: Add CodeRabbit configuration for automated PR reviews
2 parents 5baa578 + c90d9fb commit 93ca1e5

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

.coderabbit.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
# Inherit settings from the organization-level .coderabbit.yaml configuration.
3+
inheritance: true
4+
# https://docs.coderabbit.ai/reference/configuration#reviews
5+
reviews:
6+
high_level_summary: true
7+
high_level_summary_in_walkthrough: true
8+
poem: false
9+
# https://docs.coderabbit.ai/configuration/path-instructions
10+
path_instructions:
11+
- path: '**'
12+
instructions: |
13+
This is the OpenShift Cluster Network Operator (CNO). It manages the lifecycle
14+
of cluster networking components in OpenShift including OVN-Kubernetes, Multus,
15+
kube-proxy, network-diagnostics, egress-router, cloud-network-config-controller,
16+
network-metrics, node-identity, FRR-K8s, iptables-alerter, MTU-prober,
17+
container-networking-plugins, bond CNI, whereabouts CNI, route-override CNI,
18+
multi-network-policy, and the networking console plugin.
19+
- Focus on major issues impacting performance, readability, maintainability and security.
20+
- Consider backward compatibility, upgrade safety, and multi-platform support.
21+
- Avoid nitpicks and avoid verbosity.
22+
# https://docs.coderabbit.ai/configuration/path-instructions#path-filters
23+
path_filters:
24+
- "!vendor/**"
25+
- "!_output/**"
26+
# https://docs.coderabbit.ai/reference/configuration#auto-review
27+
auto_review:
28+
drafts: false
29+
ignore_title_keywords:
30+
- WIP
31+
- DNM
32+
# To exclude labels, be sure to negate the label with '!'.
33+
# Non-negated values turn this into an allowlist.
34+
labels:
35+
- '!work-in-progress'
36+
# https://docs.coderabbit.ai/reference/configuration#slop-detection
37+
slop_detection:
38+
enabled: true
39+
label: "coderabbit/ai-slop"

0 commit comments

Comments
 (0)