Skip to content

Commit f2bd053

Browse files
Merge branch 'main' into patch-1
2 parents 3e88daf + 425f9cb commit f2bd053

File tree

7 files changed

+158
-53
lines changed

7 files changed

+158
-53
lines changed

docs/changelog.md

+120-39
Large diffs are not rendered by default.

docs/faq.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ When team members are active in PRs, use `@coderabbitai` to engage the bot.
108108

109109
### Usage Limits
110110

111-
| Feature | Free/Trial | Pro Plan |
112-
| -------------- | ----------------------------- | ------------- |
113-
| Files per hour | 200 | 200 |
114-
| Reviews | 3 back-to-back, then 3/hour | Higher limits |
115-
| Conversations | 25 back-to-back, then 50/hour | Higher limits |
111+
| Feature | Free/Trial | Pro/Lite Plan |
112+
| ---------------- | ----------------------------- | ------------- |
113+
| Files per hour | 300 | 600 |
114+
| Reviews per hour | Trial: 5, OSS: 4 | 8 |
115+
| Conversations | 25 back-to-back, then 50/hour | Higher limits |
116116

117117
:::note
118118
In-trial and open-source plans have lower rate limits than the paid plan. In all cases, we re-allow further reviews/conversations after a brief timeout.

docs/platforms/jiasu.xzqcsaa.nyc.mn.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_position: 1
77

88
This is a step-by-step guide to integrate CodeRabbit with your GitHub repositories.
99

10-
> **CodeRabbit** is an AI code reviewer designed to ease the challenges of code review, supporting repository maintainers and teams. It not only reviews your PRs but also provides concise summaries, identifies potential issues, and offers insights that might be missed during manual reviews.
10+
> **CodeRabbit** is an AI code reviewer designed to ease the challenges of code review, supporting repository maintainers and teams. It reviews your PRs and provides concise summaries, identifies potential issues, and offers insights that might be missed during manual reviews.
1111
1212
## How CodeRabbit Works?
1313

@@ -21,13 +21,13 @@ It preprocesses the PR content, builds context, leverages Large Language Models
2121

2222
### 1. Accessing CodeRabbit
2323

24-
Visit the [Code Rabbit login](https://app.coderabbit.ai/login?free-trial) page. You'll see all the authentication options, select "**Login with GitHub**" to proceed.
24+
Visit the [CodeRabbit login](https://app.coderabbit.ai/login?free-trial) page. You'll see all the authentication options, select "**Login with GitHub**" to proceed.
2525

2626
![CodeRabbit Login](/img/integrations/login-self-hosted-github.png)
2727

2828
### 2. Authorization
2929

30-
When you choose **Login with GitHub** in step1 , you'll be prompted to authorize CodeRabbit.
30+
When you choose **Login with GitHub** in step1, you'll be prompted to authorize CodeRabbit.
3131

3232
> This step grants the necessary permissions for CodeRabbit to interact with your repositories and pull requests.
3333
@@ -55,13 +55,15 @@ If you opt to authorize all repositories during setup, CodeRabbit will automatic
5555

5656
You can configure CodeRabbit through a YAML file or using the [App's UI](https://app.coderabbit.ai/login).
5757

58-
You can tailor CodeRabbit's functionality using the coderabbit.yaml file, which you place directly in your GitHub repository. This file mirrors the options available in the CodeRabbit user interface, with each setting in the YAML corresponding to a specific toggle in the UI. Configure CodeRabbit either through the coderabbit.yaml file or the interface, depending on your preference.
58+
You can tailor CodeRabbit's functionality using the `.coderabbit.yaml` file, which you place directly in your GitHub repository. This file mirrors the options available in the CodeRabbit user interface, with each setting in the YAML corresponding to a specific toggle in the UI. Configure CodeRabbit either through the coderabbit.yaml file or the interface, depending on your preference.
5959

6060
:::note
61-
If a coderabbit.yaml file exists in your GitHub repository, it takes precedence over any UI settings. Choose either the YAML file or UI configuration - you don't need to use both. **Refer Coderabbit.yaml schema [here](https://storage.googleapis.com/coderabbit_public_assets/schema.v2.json)**
61+
62+
If a `.coderabbit.yaml` file exists in your GitHub repository, it takes precedence over any UI settings. Choose either the YAML file or UI configuration - you don't need to use both. **Refer CodeRabbit YAML schema [here](https://storage.googleapis.com/coderabbit_public_assets/schema.v2.json)**
63+
6264
:::
6365

64-
Once your coderabbit.yaml file is prepared according to your needs, simply place it in your GitHub repository, and you're all setCodeRabbit is now integrated.
66+
Once your `.coderabbit.yaml` file is prepared according to your needs, simply place it in your GitHub repository, and you're all setCodeRabbit is now integrated.
6567

6668
> When a pull request is created targeting the master branch, CodeRabbit automatically initiates its review process. It analyzes the changes and generates a summary and walkthrough of the modifications. The specific feedback and analysis provided by CodeRabbit are determined by the options you've configured in your YAML file.
6769
@@ -89,15 +91,15 @@ The sequence diagram illustrates the precise flow of interactions between the ob
8991

9092
![CodeRabbit Sequence Diagram](/img/integrations/coderabbit-sequence-diagram.png)
9193

92-
Also check out the response when i asked for what improvements can be done on the code level
94+
Also, check out the response when asked for what improvements can be done on the code level.
9395

9496
![Code Improvements Suggested by CodeRabbit](/img/integrations/improvements.png)
9597

9698
In addition to providing reviews and summaries, **CodeRabbit** can also detect configuration issues.
9799

98100
> For example, I accidentally set up both CodeRabbit Pro (The process we've been discussing) and the open-source version (Refer to [different config process](https://github.com/coderabbitai/ai-pr-reviewer?tab=readme-ov-file#install-instructions)) in my repository at the same time.
99101
100-
Interestingly, CodeRabbit automatically detects and alerts you about configuration conflicts.
102+
CodeRabbit automatically detects and alerts you about configuration conflicts.
101103

102104
![Configuration Issues by CodeRabbit](/img/integrations/configuration.png)
103105

docs/platforms/gitlab-com.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,23 @@ GitLab provides an option to generate a personal access token for a new user. Fo
6060
2. Select your avatar on the left sidebar.
6161
3. Choose "Edit Profile."
6262
4. Select "Access Tokens" from the left sidebar.
63-
5. Click "Add New Token."
63+
5. [Click "Add New Token."](https://gitlab.com/-/user_settings/personal_access_tokens)
6464
6. Enter a name and an expiry date for the token.
6565
7. If no expiry date is entered, it defaults to 365 days from the current date.
6666
8. Ensure the following scopes are selected: `api`, `read_api`, `read_user`.
6767
9. Click "Create Personal Access Token."
6868
10. Note down the token as it will only be displayed once.
6969

7070
![GitLab personal access token configuration page](/img/integrations/admin-access-token.png)
71+
72+
### Installing CodeRabbit into your GitLab Repositories
73+
74+
1. Go to the [Repositories page](https://app.coderabbit.ai/settings/repositories) in the CodeRabbit app.
75+
2. Click the check box to the left of the repos you want to install CodeRabbit into. Click the box at the top to install onto all repos at once.
76+
3. Click **Install Repositories**.
77+
78+
![GitLab repo Installation](/img/integrations/gitlab-repo-install.png)
79+
80+
The webhook `https://coderabbit.ai/gitlabHandler` will now be installed in your repositories.
81+
82+
![GitLab Webhook Example](/img/integrations/gitlab-webhook.png)
Loading
289 KB
Loading

static/schema/schema.v2.json

+10
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@
141141
"default": "@coderabbitai",
142142
"description": "Add this keyword in the PR/MR title to auto-generate the title."
143143
},
144+
"auto_title_instructions": {
145+
"type": "string",
146+
"default": "",
147+
"description": "Auto Title Instructions | Custom instructions for auto-generating the PR/MR title."
148+
},
144149
"review_status": {
145150
"type": "boolean",
146151
"default": true,
@@ -186,6 +191,11 @@
186191
"default": true,
187192
"description": "Suggest labels based on the changes in the pull request in the walkthrough."
188193
},
194+
"auto_apply_labels": {
195+
"type": "boolean",
196+
"default": false,
197+
"description": "Automatically apply the suggested labels to the PR/MR."
198+
},
189199
"suggested_reviewers": {
190200
"type": "boolean",
191201
"default": true,

0 commit comments

Comments
 (0)