Central CodeRabbit configuration for the openshift-hyperfleet GitHub organization.
The .coderabbit.yaml in this repository automatically applies to all repos in the org that don't have their own .coderabbit.yaml.
CodeRabbit uses the following priority order (highest to lowest):
- Global Overrides — Red Hat enterprise-level settings (managed by PTLT)
- Repository
.coderabbit.yaml— per-repo overrides - Central repository
.coderabbit.yaml— this file (applies to all repos) - Organization Settings — CodeRabbit web UI for the org
- Default Settings — CodeRabbit built-in defaults
With inheritance: true, repo-level configs merge with this central config instead of replacing it entirely.
| Area | Configuration |
|---|---|
| Review profile | assertive — thorough feedback on every PR |
| Path instructions | Stricter review for cmd/, config/, deploy/, charts/, migrations/ |
| Code guidelines | Reads CLAUDE.md, AGENTS.md, .cursor/rules/*.mdc from each repo |
| Linked repositories | Architecture, API, Sentinel, Adapter, Broker — cross-repo analysis |
| Tools | golangci-lint, gitleaks, yamllint, markdownlint enabled |
| Auto-review | Enabled, skips drafts and WIP PRs |
Create a .coderabbit.yaml in your repo root. With inheritance: true, your settings merge with the central config:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
inheritance: true
reviews:
profile: chill # Override to lighter feedback for this repo
path_instructions:
- path: "internal/special/**"
instructions: |
Additional repo-specific review instructions.See the CodeRabbit configuration docs for all available options.
knowledge_base.opt_out: true is mandatory across all Red Hat CodeRabbit repos due to contractual data retention restrictions. This disables learnable rules (rules that improve from reviewer feedback over time). Under review by the PTLT team — no timeline for resolution.
web_search.enabled: false is set at the Red Hat enterprise level.
The CodeRabbit JIRA integration is not currently approved due to security concerns raised by PTLT. This may be revisited in the future. For JIRA ticket validation during PR reviews, use the Claude Code /review-pr skill instead.
Ensure the CodeRabbit GitHub app is installed on all linked repositories:
openshift-hyperfleet/architectureopenshift-hyperfleet/hyperfleet-apiopenshift-hyperfleet/hyperfleet-sentinelopenshift-hyperfleet/hyperfleet-adapteropenshift-hyperfleet/hyperfleet-broker
The app is likely already installed if CodeRabbit is reviewing PRs in these repos.