summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-12 12:23:13 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-12 12:23:13 +0300
commitb7e665bccda17336d8393e3e769a787722012723 (patch)
tree44975825fad7dd38a615c7379ebbdc05605f9865
parent268cbc3f5bbb6b1c15e94877943ecf09d846f16b (diff)
downloadvyos-1x-b7e665bccda17336d8393e3e769a787722012723.tar.gz
vyos-1x-b7e665bccda17336d8393e3e769a787722012723.zip
T8764: add `inheritance: true` so central baseline is actually inherited
Follow-up to #5191 — the original PR landed without this flag, which means the per-repo `.coderabbit.yaml` was REPLACING the central baseline (`vyos/coderabbit:.coderabbit.yaml`) instead of merging with it. Per https://docs.coderabbit.ai/configuration/configuration-inheritance: > Inheritance is disabled by default. You must explicitly enable it > by adding `inheritance: true`. > > Without inheritance, only the highest-priority source is used. > > Each level with `inheritance: true` merges with its parent. The > chain stops at the first level where `inheritance: false` or unset. Today, every PR review on this repo is using ONLY the contents of `.coderabbit.yaml` (this file) — the central baseline's review profile, tools, chat ACL, finishing-touches settings, etc. are all dropped. Adding `inheritance: true` restores merging. Caught by CodeRabbit's auto-review on the sibling per-repo PR VyOS-Networks/next-js-cpd#1. Did not surface on the original #5191 because CodeRabbit's OSS-security policy ignores YAML config changes from the PR itself on public repos — it reviews against the base branch, which didn't have this file yet. 🤖 Generated by [robots](https://vyos.io)
-rw-r--r--.coderabbit.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.coderabbit.yaml b/.coderabbit.yaml
index 1e55ec2e3..8531b1177 100644
--- a/.coderabbit.yaml
+++ b/.coderabbit.yaml
@@ -18,6 +18,12 @@
#
# This makes one file the single source of truth across both orgs.
+# Opt this repo into the inheritance chain. Without this, the file below
+# would entirely REPLACE the central baseline rather than merge per-field
+# on top of it — inheritance is disabled by default per CodeRabbit's
+# schema (https://docs.coderabbit.ai/configuration/configuration-inheritance).
+inheritance: true
+
knowledge_base:
jira:
# `auto` is the cross-org-safe value: enabled on private/internal