Creating a Webhook
Kodus usually creates the webhook automatically. If that didn’t happen, follow these steps to set it up manually:
-
Navigate to your GitLab project
-
Go to “Settings” > “Webhooks”
-
Time to configure your webhook:
- URL: Drop in the URL where you want to receive notifications, the URL you put under
API_GITLAB_CODE_MANAGEMENT_WEBHOOK
in the.env
file - Check Show full URL
- Name: (optional) Kodus Code Review
- Description: (optional) Kodus Code Review Webhook
- Secret token: Leave blank
- SSL verification: Enable SSL verification
- Trigger: Select the following events:
- Comments
- Issue events
- Merge request events
- URL: Drop in the URL where you want to receive notifications, the URL you put under
-
Click “Add webhook”
And that’s it! You’ve successfully set up a webhook to do code reviews in your GitLab repository.
Was this page helpful?