Creating a Webhook
Kodus usually creates the webhook automatically. If that didn’t happen, follow these steps to set it up manually:
-
Head over to your GitHub repository
-
Click on “Settings”
-
Find “Webhooks” in the left sidebar
-
Click “Add webhook”
-
Time to configure your webhook:
- Payload URL: Drop in the URL where you want to receive notifications, the URL you put under
API_GITHUB_CODE_MANAGEMENT_WEBHOOK
in the.env
file - Content type: Go with
application/json
- Secret: Leave blank
- SSL verification: Check Enable SSL verification
- Which events would you like to trigger this webhook?: Check Let me select individual events
- Check these boxes:
- Issue comment
- Pull request review comments
- Pull request review threads
- Pull request reviews
- Pull requests
- Pushes
- Payload 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 GitHub repository.
Was this page helpful?