Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 3.13 KB

README.md

File metadata and controls

39 lines (26 loc) · 3.13 KB

coderabbit

CodeRabbit's organization-wide configuration for the ptr727 repositories.

Purpose

CodeRabbit reads a repository named coderabbit under an organization or account as that owner's central configuration. A repository that carries no .coderabbit.yaml of its own uses the .coderabbit.yaml here. A repository that carries one uses its own file instead.

A fleet repository chooses which reviewers run, on which branches, and when, in its own .github/agent-policy.json. That file is rendered from the ProjectTemplate registry, together with the repository's .coderabbit.yaml and .pr_agent.toml. So once present, the default here reaches only a repository the registry renders no files for, such as a new one. It turns automatic review off, so it starts no review nobody asked for.

Status

A central default with automatic review off silences CodeRabbit on every repository that lacks its own file. So .coderabbit.yaml is present here only while every fleet repository carries its own .coderabbit.yaml on its default branch, setting reviews.auto_review.enabled. scripts/central_config.py write adds the file when that holds and removes it when it does not.

Where the Rules Live

This repository holds configuration only. The rules it serves live in ProjectTemplate:

Changing the Configuration

ProjectTemplate writes this repository with scripts/central_config.py. Make a change there and carry it here by a pull request. Never edit this repository in place. The settings reference names each option.