Skip to content

openshift-hyperfleet/coderabbit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

CodeRabbit Central Configuration

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.

Configuration hierarchy

CodeRabbit uses the following priority order (highest to lowest):

  1. Global Overrides — Red Hat enterprise-level settings (managed by PTLT)
  2. Repository .coderabbit.yaml — per-repo overrides
  3. Central repository .coderabbit.yaml — this file (applies to all repos)
  4. Organization Settings — CodeRabbit web UI for the org
  5. Default Settings — CodeRabbit built-in defaults

With inheritance: true, repo-level configs merge with this central config instead of replacing it entirely.

What this configures

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

Adding repo-specific overrides

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.

Current limitations

Learnable rules disabled

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 disabled

web_search.enabled: false is set at the Red Hat enterprise level.

JIRA integration not approved

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.

TODO: manual setup steps

CodeRabbit app permissions

Ensure the CodeRabbit GitHub app is installed on all linked repositories:

  • openshift-hyperfleet/architecture
  • openshift-hyperfleet/hyperfleet-api
  • openshift-hyperfleet/hyperfleet-sentinel
  • openshift-hyperfleet/hyperfleet-adapter
  • openshift-hyperfleet/hyperfleet-broker

The app is likely already installed if CodeRabbit is reviewing PRs in these repos.

Reference

About

Central CodeRabbit configuration for HyperFleet org

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors