Skip to content

Commit d393453

Browse files
🎨 pnpm run lint:fix
[dependabot skip]
1 parent 0149932 commit d393453

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

docs/platforms/gitlab-com.md

+27-27
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ This guide will assist you in effectively integrating CodeRabbit with SaaS GitLa
1717

1818
To enable CodeRabbit to interact with your GitLab repositories, an access token is required. This token grants the necessary permissions for interacting with the Merge Requests and Discussions APIs.
1919

20-
1. Personal Access Token (PAT): You can create a new GitLab account specifically for CodeRabbit, name it “CodeRabbit” and treat it as a service account. Then generate a PAT from it where PAT will enable seamless integration between CodeRabbit and your GitLab repositories.
21-
2. Group Access Token: If your organization uses GitLab Premium or Ultimate, you can generate a Group Access Token. This option automatically creates a bot user associated with the group for managing access and posting reviews.
20+
1. Personal Access Token (PAT): You can create a new GitLab account specifically for CodeRabbit, name it “CodeRabbit” and treat it as a service account. Then generate a PAT from it where PAT will enable seamless integration between CodeRabbit and your GitLab repositories.
21+
2. Group Access Token: If your organization uses GitLab Premium or Ultimate, you can generate a Group Access Token. This option automatically creates a bot user associated with the group for managing access and posting reviews.
2222

2323
### Personal Access Token
2424

2525
We recommend creating a new user as a service account, associating this user to the group you'd like to install CodeRabbit on, and providing CodeRabbit with the personal access token to allow access. During the installation process, CodeRabbit will automatically configure the required webhook for seamless integration.
2626

2727
<div class="center-image">
28-
<img
29-
src="/img/integrations/gitlab_user_choice.png"
30-
alt="GitLab user modal choice"
31-
width="1000"
32-
/>
28+
<img
29+
src="/img/integrations/gitlab_user_choice.png"
30+
alt="GitLab user modal choice"
31+
width="1000"
32+
/>
3333
</div>
3434

3535
:::note
@@ -39,12 +39,12 @@ If you wish to change the review user, you must provide the access token for the
3939
:::
4040

4141
<div class="center-image">
42-
<img
43-
src="/img/integrations/gitlab_organization_user.png"
44-
alt="GitLab organization user modal
42+
<img
43+
src="/img/integrations/gitlab_organization_user.png"
44+
alt="GitLab organization user modal
4545
choice"
46-
width="1000"
47-
/>
46+
width="1000"
47+
/>
4848
</div>
4949

5050
#### Recommendations
@@ -79,11 +79,11 @@ GitLab provides an option to generate a personal access token for a new user. Fo
7979
10. Note down the token as it will only be displayed once.
8080

8181
<div class="center-image">
82-
<img
83-
src="/img/integrations/admin-access-token.png"
84-
alt="GitLab personal access token configuration page"
85-
width="1000"
86-
/>
82+
<img
83+
src="/img/integrations/admin-access-token.png"
84+
alt="GitLab personal access token configuration page"
85+
width="1000"
86+
/>
8787
</div>
8888

8989
---
@@ -124,21 +124,21 @@ You can confirm the correct user is being selected by verifying the user ID show
124124
3. Select **Install Repositories**.
125125

126126
<div class="center-image">
127-
<img
128-
src="/img/integrations/gitlab-repo-install.png"
129-
alt="GitLab Repo Install Modal"
130-
width="1000"
131-
/>
127+
<img
128+
src="/img/integrations/gitlab-repo-install.png"
129+
alt="GitLab Repo Install Modal"
130+
width="1000"
131+
/>
132132
</div>
133133

134134
The webhook `https://coderabbit.ai/gitlabHandler` will now be installed for the projects selected.
135135

136136
<div class="center-image">
137-
<img
138-
src="/img/integrations/gitlab-webhook.png"
139-
alt="GitLab Webhook Example"
140-
width="1000"
141-
/>
137+
<img
138+
src="/img/integrations/gitlab-webhook.png"
139+
alt="GitLab Webhook Example"
140+
width="1000"
141+
/>
142142
</div>
143143

144144
### Troubleshooting

0 commit comments

Comments
 (0)