You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2025. It is now read-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
- **high_level_summary**: CodeRabbit generates a high level summary of the changes (default:`true`).
- **poem**: Indicates whether a creative poem should be included in the review (default:`true`).
- **review_status**: Indicates the status of the review (default:`true`).
- **collapse_walkthrough**: Collapses the walkthrough comment (default:`false`).
- **path_filters**: Specifies file patterns to exclude or include for a review, such as `!dist/**` and `src/**.tsx`, using glob notation.
- **path_instructions**: Provides specific additional guidelines for code review based on file paths. In the given example, JavaScript files are singled out for checks against the Google JavaScript style guide. File path accepts glob pattern
- **auto_review**: Manages settings for automated code reviews, such as:
#### version 1: `deprecated` (Please use version [version 2](/guides/customize-coderabbit))
```yaml
settings:
# Enables automatic reviewing of draft pull requests.
enable_draft_pr_reviews: true
# Specifies additional base/target branches to be reviewed. Accept regex pattern.
additional_branches_to_be_reviewed:
- "master"
- "yaml/test"
# Disables generation of release notes.
disable_high_level_summary: false
# Specific review instructions for certain file paths. File paths accept glob pattern
path_based_instructions:
- path: "**/*.js"
instructions: "Review the javascript code against the google javascript style guide and point out any mismatches"
- path: "tests/**/*"
instructions:
"Review the following unit test code written using the Mocha test library. Ensure that:
- The code adheres to best practices associated with Mocha.
- Descriptive test names are used to clearly convey the intent of each test."
# Comma separated list of keywords in the title that should be ignored.
ignored_pr_titles: "WIP"
# ISO Code for the review language.
review_language: "en"
# Disables review and other status comments.
disable_review_status: false
# Add walkthrough comment in a collapsible section.
collapse_walkthrough_comment: true
# Disable automatic code reviews for this repository.
disable_review: false
# Enables automatic reviewing of draft pull requests.
enable_draft_pr_reviews: true
# Specifies additional base/target branches to be reviewed. Accept regex pattern.
additional_branches_to_be_reviewed:
- "master"
- "yaml/test"
# Disables generation of release notes.
disable_high_level_summary: false
# Specific review instructions for certain file paths. File paths accept glob pattern
path_based_instructions:
- path: "**/*.js"
instructions:
"Review the javascript code against the google javascript style guide
and point out any mismatches"
- path: "tests/**/*"
instructions:
"Review the following unit test code written using the Mocha test
library. Ensure that: - The code adheres to best practices associated
with Mocha. - Descriptive test names are used to clearly convey the
intent of each test."
# Comma separated list of keywords in the title that should be ignored.
ignored_pr_titles: "WIP"
# ISO Code for the review language.
review_language: "en"
# Disables review and other status comments.
disable_review_status: false
# Add walkthrough comment in a collapsible section.
collapse_walkthrough_comment: true
# Disable automatic code reviews for this repository.
disable_review: false
```
<!--  -->
This configuration file consists of the following settings:
1. **enable_draft_pr_reviews**: Set to **false** to disable draft pull request(PR) reviews.
2. **additional_branches_to_be_reviewed**: Define additional branches to be reviewed besides the default branch.
3. **disable_high_level_summary**: If set to **true**, disables high-level summary generation.
4. **path_based_instructions**: Allows you to specify instructions based on file paths. In this example, instructions for Python and JavaScript files are provided, encouraging adherence to the Google style guide.
5. **ignored_pr_titles**: Specifies ignored PR titles, in this case, "WIP" (Work in Progress).
1. **enable_draft_pr_reviews**: Set to **false** to disable draft pull
request(PR) reviews.
2. **additional_branches_to_be_reviewed**: Define additional branches to be
reviewed besides the default branch.
3. **disable_high_level_summary**: If set to **true**, disables high-level
summary generation.
4. **path_based_instructions**: Allows you to specify instructions based on file
paths. In this example, instructions for Python and JavaScript files are
provided, encouraging adherence to the Google style guide.
5. **ignored_pr_titles**: Specifies ignored PR titles, in this case, "WIP" (Work
in Progress).
6. **review_language**: Sets the review language to French ("fr").
7. **disable_poem**: If set to **false**, enables the "poem" feature.
8. **early_access_program**: Determines whether to enable the early access program (set to **false** in this case).
9. **exclude_file_patterns**: Specifies patterns for excluding certain files from review, such as `!dist/**` and `!**.md`.
10. **limit_reviews_by_label**: Limits reviews by label, targeting "first_bug" label reviews.
11. **disable_review**: Totally disables automatic code reviews for the repository.
12. **disable_review_status**: This is the comment posted for each incremental review status. This removes the review status comment. Reviews will still take place. However, optional comments added to the review status will not be posted.
13. **collapse_walkthrough_comment**: Specifies whether to collapse walkthrough comments on the review.
**Language Selection:** Select the natural language in which you want the review feedback. CodeRabbit supports most of the widely used languages. The default language is English.
**Language Selection:** Select the natural language in which you want the review
feedback. CodeRabbit supports most of the widely used languages. The default
language is English.
**Disable High Level Summary:** This allows disabling high level summary added with the pull request description.
**Disable High Level Summary:** This allows disabling high level summary added
**Disable Reviews:** Disables automatic code reviews for the repository. Reviews can be initiated on-demand using CodeRabbit commands.
**Disable Reviews:** Disables automatic code reviews for the repository. Reviews
can be initiated on-demand using CodeRabbit commands.
**Enable Draft Pull request Reviews:** Select whether CodeRabbit should review the draft pull requests.
**Enable Draft Pull request Reviews:** Select whether CodeRabbit should review
the draft pull requests.
**Configure reviews using pull request labels:** Select specific pull request labels for which reviews should occur.
**Configure reviews using pull request labels:** Select specific pull request
labels for which reviews should occur.
**File Pattern:** Include or exclude specific file patterns from the review.
Please note that code reviews commence with new pull requests or incremental commits to existing pull requests once the CodeRabbit app is installed. Should you have any questions or require assistance, our support team is here to help.
Please note that code reviews commence with new pull requests or incremental
commits to existing pull requests once the CodeRabbit app is installed. Should
you have any questions or require assistance, our support team is here to help.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.