Skip to content

Commit 5202a91

Browse files
committed
Refactor GitLab webhook script section for clarity and formatting
1 parent 07ae251 commit 5202a91

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/self-hosted/gitlab.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,18 @@ Consult official CodeRabbitAI documentation for a detailed [guide](https://docs.
4444
- Issues events
4545
- Merge request events
4646

47-
We have a convenient [script](/code/gitlab-webhook.sh) to help you add webhooks to all projects in a GitLab instance. You can run it with the following command:
47+
## Add Webhook Using a Script
48+
49+
We have a convenient [script](/code/gitlab-webhook.sh) to help you add webhooks to all projects in a GitLab instance.
4850

4951
```bash
5052
# Make sure the script is executable:
5153
chmod +x gitlab-webhook.sh
54+
```
5255

56+
Example usage:
57+
58+
```bash
5359
# PAT example (header auto-detected)
5460
export GITLAB_TOKEN="glpat-xxxxx"
5561
./gitlab-add-webhook.sh \

0 commit comments

Comments
 (0)