What global overrides do
After CodeRabbit resolves a repositoryâs configuration, it merges organization global overrides on top, then workspace global overrides. They apply whether or not inheritance is on, and workspace overrides win when both set the same key. After a per-review override from a pull request description or a--with-config comment, CodeRabbit applies global overrides again.
Who can edit global overrides
Anyone with read access to Organization settings can view the overrides. The built-in Admin, Member and Billing Admin roles all have it. See Role-based access. The API can read global overrides but canât change them.
Set global overrides
1
Open the editor
Open the page for your scope from the table above and set View mode to Global overrides.
2
Write only the keys to enforce
Use the
.coderabbit.yaml V2 keys. Leave out everything you donât want to enforce.3
Save the overrides
Select Apply changes, then confirm with Apply changes in the dialog. The overrides apply to the next review of every repository in scope. Organization global overrides donât apply while the organization has Use workspace settings on.
Global overrides
How overrides merge
Objects merge key by key with the override winning. Arrays combine by key: override entries come first and replace base entries with the same key, and other base entries stay. Scalars are replaced. An empty array in an override leaves the base array as it is. See Inheritance and merging.Force inheritance everywhere
Setinheritance: true in a global override to make every repository in scope run the inheritance walk, including repositories that set inheritance: false.
Global overrides
Check whether an override is winning
Comment@coderabbitai configuration on a pull request. Values from overrides carry # Source: Organization global overrides or # Source: Workspace global overrides. The Run configuration section of Review info lists them under Enforced overrides. See Check which configuration a review used.
Limits
- Overrides use configuration schema V2. In organizations on the V3 settings preview, the V2 overrides editor doesnât save changes.
- When an organization has Use workspace settings on, its own organization global overrides are ignored.
- Self-hosted CodeRabbit has no global overrides at either scope.
Whatâs next
Enforce settings teams can't change
Plan which settings to enforce and roll them out without surprising teams.
How CodeRabbit resolves configuration
See where global overrides sit among every other layer.
Inheritance and merging
Compare how overrides, inheritance and workspace defaults merge values.