Webhook URLs must reach the Webhooks service (port 3332). Using the API domain only works if your reverse proxy routes
/.../webhook paths to the webhooks service.- Head over to your GitHub repository
- Click on “Settings”
- Find “Webhooks” in the left sidebar
- Click “Add webhook”
-
Configure your webhook:
- Payload URL: Enter the URL from your
.envfile:API_GITHUB_CODE_MANAGEMENT_WEBHOOK - Content type:
application/json - Secret: Leave blank
- SSL verification: Enable SSL verification
- Which events would you like to trigger this webhook?: Let me select individual events
- Check these boxes:
- Issue comment
- Pull request review comments
- Pull requests
- Payload URL: Enter the URL from your
- Click “Add webhook”
These are the only three events Kodus consumes. Selecting extras (pushes, pull request
reviews, review threads) just sends traffic that is discarded on arrival.