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
Copy file name to clipboardExpand all lines: docs/platforms/saas-gitlab.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -39,18 +39,18 @@ If your organization opts to use another user within the organization, you can d
39
39
40
40
#### Recommendations
41
41
42
-
***Create a dedicated user for CodeRabbit** - This ensures the user is exclusively for CodeRabbit, allowing better access control.
43
-
***Use "CodeRabbit" as the username** - This makes the user easily recognizable for future reference.
44
-
***Use a dedicated email address** - This helps in easy identification and management.
45
-
***Use the CodeRabbit logo as the profile picture** - This further ensures easy recognition. You can download our logo from [here](/img/integrations/logo.svg"download").
42
+
-**Create a dedicated user for CodeRabbit** - This ensures the user is exclusively for CodeRabbit, allowing better access control.
43
+
-**Use "CodeRabbit" as the username** - This makes the user easily recognizable for future reference.
44
+
-**Use a dedicated email address** - This helps in easy identification and management.
45
+
-**Use the CodeRabbit logo as the profile picture** - This further ensures easy recognition. You can download our logo from [here](/img/integrations/logo.svg"download").
46
46
47
47
#### Key Points to Remember
48
48
49
-
* Personal access tokens have expiration dates. Ensure the expiration date covers the duration of your intended use of the CodeRabbit app.
50
-
* Code reviews will be attributed to the owner of the personal access token.
51
-
* If the personal access token expires, you can add a new one via the CodeRabbit UI:
52
-
* Navigate to the "GitLab User" page in the sidebar.
53
-
* Click the "Update" button on the displayed card to see the same modal as the initial login.
49
+
- Personal access tokens have expiration dates. Ensure the expiration date covers the duration of your intended use of the CodeRabbit app.
50
+
- Code reviews will be attributed to the owner of the personal access token.
51
+
- If the personal access token expires, you can add a new one via the CodeRabbit UI:
52
+
- Navigate to the "GitLab User" page in the sidebar.
53
+
- Click the "Update" button on the displayed card to see the same modal as the initial login.
54
54
55
55
### Generating a Personal Access Token
56
56
@@ -63,7 +63,7 @@ GitLab provides an option to generate a personal access token for a new user. Fo
63
63
5. Click "Add New Token."
64
64
6. Enter a name and an expiry date for the token.
65
65
7. If no expiry date is entered, it defaults to 365 days from the current date.
66
-
8. Ensure the following scopes are selected: `api`, `user`, `email`.
66
+
8. Ensure the following scopes are selected: `api`, `read_api`, `read_user`.
67
67
9. Click "Create Personal Access Token."
68
68
10. Note down the token as it will only be displayed once.
Copy file name to clipboardExpand all lines: docs/platforms/self-hosted-gitlab.md
+2
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ To initiate the integration, we require specific information. This is essential
12
12
for the initial setup of CodeRabbit within your domain. Once this setup is
13
13
complete, you can log in directly using the OAuth2 flow.
14
14
15
+
CodeRabbit supports GitLab `16.x` and above. Version `15.x` may experience unexpected issues such as review comments not being posted or the sign up process not working at all. While we won't block the integration, we recommend upgrading your GitLab instance to obtain the intended experience.
16
+
15
17
### **Step 1: Getting Started**
16
18
17
19
**Visit CodeRabbit:** Visit our [Login](https://coderabbit.ai/login) page and
Copy file name to clipboardExpand all lines: static/schema/schema.v2.json
+26
Original file line number
Diff line number
Diff line change
@@ -576,6 +576,19 @@
576
576
"default": {},
577
577
"description": "Buf offers linting for Protobuf files."
578
578
},
579
+
"regal": {
580
+
"type": "object",
581
+
"properties": {
582
+
"enabled": {
583
+
"type": "boolean",
584
+
"default": true,
585
+
"description": "Enable Regal | Regal is a linter and language server for Rego. | v0.25.0"
586
+
}
587
+
},
588
+
"additionalProperties": false,
589
+
"default": {},
590
+
"description": "Regal is a linter and language server for Rego."
591
+
},
579
592
"actionlint": {
580
593
"type": "object",
581
594
"properties": {
@@ -674,6 +687,19 @@
674
687
},
675
688
"additionalProperties": false,
676
689
"default": {}
690
+
},
691
+
"pull_requests": {
692
+
"type": "object",
693
+
"properties": {
694
+
"scope": {
695
+
"type": "string",
696
+
"enum": ["local", "global", "auto"],
697
+
"default": "auto",
698
+
"description": "Pull Requests | Specify the scope of pull requests to use for the knowledge base. 'local' uses the repository's pull requests, 'global' uses the organization's pull requests, and 'auto' uses repository's pull requests for public repositories and organization's pull requests for private repositories."
0 commit comments