coderabbit repository in your organization and add your .coderabbit.yaml file - CodeRabbit automatically applies these settings to any repository that doesnât have its own configuration.
This page covers sharing
.coderabbit.yaml setting values across repositories only. Sourcing guideline file content from another repository through knowledge_base.code_guidelines.filePatterns is a separate mechanism documented on the Code Guidelines page.Organization-wide consistency
Single source of truth for code review standards across all repositories
Simplified management
Update settings once instead of modifying each repository individually
Configuration hierarchy
Global overrides take precedence over everything, followed by repository
configs, central configs, and organization defaults - giving admins
enforcement power while keeping teams flexible
How configuration resolution works
CodeRabbit checks for configuration in this priority order:| Priority | Source | Location |
|---|---|---|
| 0 (Highest) | Workspace global overrides | CodeRabbit UI - Workspace Settings - Global Overrides (Enterprise workspace customers) |
| 1 | Organization global overrides | CodeRabbit UI - Organization Settings - Global Overrides |
| 2 | Repository file | .coderabbit.yaml in the repository |
| 3 | Central repository | .coderabbit.yaml in coderabbit repository |
| 4 | Repository settings | CodeRabbit UI - Repository Settings |
| 5 | Organization settings | CodeRabbit UI - Organization Settings |
| 6 | Workspace settings | CodeRabbit UI - Workspace Settings (Enterprise workspace customers) |
| 7 (Lowest) | Default settings | CodeRabbit schema defaults |
- Repository file:
Path: .coderabbit.yaml - Central repository:
Repository: coderabbit/.coderabbit.yaml - UI settings:
CodeRabbit UI
Setup
1
Create the central repository
Create a repository named
coderabbit in your organization. The location depends on your platform:- GitHub:
organization/coderabbit - GitLab:
group/coderabbit(orgroup/subgroup/coderabbitfor nested groups) - Azure DevOps:
project/coderabbit - Bitbucket Cloud:
workspace/coderabbit
2
Add your configuration
Create a
.coderabbit.yaml file in the repository root with your
organizationâs settings:.coderabbit.yaml
3
Install CodeRabbit
Install CodeRabbit on the central
coderabbit repository through your
platformâs installation process.4
Verify configuration
Check a repository that doesnât have its own
.coderabbit.yaml file. The
configuration source should show Repository: coderabbit/.coderabbit.yaml
in the CodeRabbit UI.GitLab hierarchical configuration
GitLab supports team-specific configurations through its nested group structure. CodeRabbit automatically finds the closestcoderabbit repository in your group hierarchy, allowing different teams to have their own settings while maintaining organization-wide defaults.
Configuration inheritance example:
This enables team-specific configurations with automatic fallback to parent group settings.
For configuration inheritance to work across the group hierarchy, CodeRabbit must be installed on the top-level group (for example,
company in the table above). This grants CodeRabbit the access it needs to discover and read coderabbit repositories at every level of the hierarchy.Platform limitations
- Azure DevOps: Each project requires its own
coderabbitrepository - no cross-project configuration sharing - Bitbucket Server: Central configuration not yet implemented - use individual repository settings
Repository overrides
Individual repositories can override central configuration by adding their own.coderabbit.yaml file.
Repository-specific config
Whatâs next
Configuration overview
Understand how CodeRabbit resolves settings across UI, repository, and global override layers
Repository settings
Configure CodeRabbit settings for an individual repository
Configuration reference
Browse the complete list of available
.coderabbit.yaml settings