-
Notifications
You must be signed in to change notification settings - Fork 64
chore: utilize org level coderabbit config #1172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,42 +1,27 @@ | ||
| language: en-US | ||
| tone_instructions: '' | ||
| early_access: false | ||
| enable_free_tier: true | ||
| # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
| # Inherits from org-wide config: https://github.com/opendatahub-io/coderabbit | ||
| # Only overrides listed below differ from the org baseline. | ||
|
|
||
| inheritance: true | ||
|
|
||
| reviews: | ||
| profile: chill | ||
| request_changes_workflow: false | ||
| high_level_summary: true | ||
| high_level_summary_placeholder: '@coderabbitai summary' | ||
| high_level_summary_in_walkthrough: false | ||
| auto_title_placeholder: '@coderabbitai' | ||
| auto_title_instructions: '' | ||
| review_status: false | ||
| commit_status: true | ||
| fail_commit_status: false | ||
| collapse_walkthrough: true | ||
| changed_files_summary: true | ||
| sequence_diagrams: false | ||
| assess_linked_issues: true | ||
| related_issues: true | ||
| related_prs: true | ||
| suggested_labels: true | ||
| auto_apply_labels: false | ||
| suggested_reviewers: true | ||
| auto_assign_reviewers: false | ||
| poem: false | ||
| labeling_instructions: [] | ||
| path_filters: ["!.github/**"] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: In CodeRabbit, To exclude the entire reviews:
path_filters:
- "!.github/**"Notes:
reviews:
path_filters:
- "**"
- "!.github/**"Sources: CodeRabbit configuration docs on 🏁 Script executed: # Search the repository for CodeRabbit schema, documentation, or configuration examples
find . -type f \( -name "*.md" -o -name "*.yaml" -o -name "*.json" \) -exec grep -l "path_filters\|coderabbit" {} \; 2>/dev/null | head -20Repository: opendatahub-io/opendatahub-tests Length of output: 94 🏁 Script executed: # Check if there's a coderabbit schema or reference documentation in the repo
git ls-files | grep -i coderabbit | head -20Repository: opendatahub-io/opendatahub-tests Length of output: 92 🏁 Script executed: cat -n .coderabbit.yamlRepository: opendatahub-io/opendatahub-tests Length of output: 3084 Fix malformed Line 16 has two problems: (1) the exclude-only pattern Suggested change- path_filters: ["!.github/**"]
+ path_filters: ["**", "!.github/**/*.md"]🤖 Prompt for AI Agents |
||
| path_instructions: [] | ||
| abort_on_close: true | ||
| disable_cache: false | ||
| auto_review: | ||
| enabled: true | ||
| auto_incremental_review: true | ||
| ignore_title_keywords: ['wip', 'do not merge', 'do not review', | ||
| 'lock file maintenance', 'pre-commit autoupdate'] | ||
| labels: [] | ||
| drafts: false | ||
| base_branches: [] | ||
| finishing_touches: | ||
| docstrings: | ||
| enabled: true | ||
|
|
@@ -73,39 +58,20 @@ reviews: | |
| enabled: true | ||
| phpstan: | ||
| enabled: true | ||
| level: default | ||
| golangci-lint: | ||
| enabled: true | ||
| yamllint: | ||
| enabled: true | ||
| gitleaks: | ||
| enabled: true | ||
| checkov: | ||
| enabled: true | ||
| detekt: | ||
| enabled: true | ||
| eslint: | ||
| enabled: true | ||
| rubocop: | ||
| enabled: true | ||
| buf: | ||
| enabled: true | ||
| regal: | ||
| enabled: true | ||
| actionlint: | ||
| enabled: true | ||
| pmd: | ||
| enabled: true | ||
| cppcheck: | ||
| enabled: true | ||
| semgrep: | ||
| enabled: true | ||
| circleci: | ||
| enabled: true | ||
| clippy: | ||
| enabled: true | ||
| sqlfluff: | ||
| enabled: true | ||
| prismaLint: | ||
| enabled: true | ||
| pylint: | ||
|
|
@@ -122,25 +88,14 @@ reviews: | |
| enabled: true | ||
| chat: | ||
| auto_reply: true | ||
| integrations: | ||
| jira: | ||
| usage: auto | ||
| linear: | ||
| usage: auto | ||
|
|
||
| knowledge_base: | ||
| opt_out: false | ||
| web_search: | ||
| enabled: true | ||
| learnings: | ||
| scope: auto | ||
| issues: | ||
| scope: auto | ||
| jira: | ||
| usage: auto | ||
| project_keys: [] | ||
| linear: | ||
| usage: auto | ||
| team_keys: [] | ||
| pull_requests: | ||
| scope: auto | ||
| code_generation: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
CodeRabbit v2 inheritance true configuration tools behavior documentation💡 Result:
CodeRabbit v2:
inheritance: true(what it does + where it’s documented)Enable inheritance (v2 schema)
Add
inheritance: trueat the root of your repo’s.coderabbit.yaml(v2 schema). When enabled, CodeRabbit merges config from parent levels instead of using only the highest-priority source. Inheritance is off by default. [1]How merging behaves (important for “behavior”)
With inheritance enabled, CodeRabbit walks up the config hierarchy and merges by type: objects deep-merge, scalars are overridden by the child, and arrays are child-first with unique parent items appended (deduped by common keys like
path,name,id, etc.). The chain stops at the first level whereinheritance: false(or not set). [1]“Tools” configuration in v2
Tool integrations live under
reviews.toolsin.coderabbit.yaml, where each tool typically has anenabledflag (and some have extra options). The auto-generated Tools Reference lists supported tools and per-tool configuration fields. [3]Full configuration reference (all behavior knobs)
For the complete v2 settings catalog (review behavior, auto-review, summaries, etc.), use the auto-generated Configuration reference (noted as last updated 2026-02-26). [2]
Sources: Configuration inheritance [1], Configuration reference [2], Tools Reference [3].
🏁 Script executed:
Repository: opendatahub-io/opendatahub-tests
Length of output: 58
🏁 Script executed:
Repository: opendatahub-io/opendatahub-tests
Length of output: 3084
🌐 Web query:
CodeRabbit supported tools gitleaks trufflehop checkov trivy semgrep opengrep💡 Result:
CodeRabbit supports all of the tools you listed (with one typo clarification): Gitleaks, TruffleHog, Checkov, Trivy, Semgrep, and OpenGrep. (docs.coderabbit.ai)
Citations:
🌐 Web query:
CodeRabbit tools reference complete list 2025 2026💡 Result:
CodeRabbit’s docs list the following supported third‑party tools (as shown in the “List of supported tools” section of their documentation): actionlint, ast-grep, Biome, Blinter, Brakeman, Buf, Checkmake, Checkov, CircleCI, Clippy, Clang-Tidy, Cppcheck, detekt, Dotenv Linter, ESLint, Flake8, Fortitude, Gitleaks, golangci-lint, Hadolint, HTMLHint, LanguageTool, Luacheck, markdownlint, OSV-Scanner, OpenGrep, Oxlint, PHPCS, PHPMD, PHPStan, Pipeline Remediation (Pipeline Failure Remediation), PMD, Prisma Lint, PSScriptAnalyzer, Pylint, Regal, RuboCop, Ruff, Semgrep, ShellCheck, Shopify CLI, smarty-lint, SQLFluff, Stylelint, SwiftLint, TFLint, Trivy, TruffleHog. [1]
Recent additions called out in the 2026 changelog include smarty-lint, PSScriptAnalyzer (Feb 25, 2026) and Trivy, TFLint, Fortitude, Blinter (Feb 4, 2026). [2]
Sources: [1] [2]
Add missing security scanners to explicit tool configuration.
The file already pins 25+ tools explicitly (lines 30-88). However, critical security scanners—Gitleaks, TruffleHog, Checkov, Trivy, Semgrep—are absent. When inheriting, omitted tools merge from parent config; if the parent org-level
.coderabbit.yamldoesn't enable these scanners either, security coverage remains incomplete (CWE-693). Explicitly enable them:Add to tools block
dotenvLint: enabled: true + gitleaks: + enabled: true + trufflehog: + enabled: true + checkov: + enabled: true + trivy: + enabled: true + semgrep: + enabled: true🤖 Prompt for AI Agents