Skip to main content
Forgejo support is maintained by the community.
Kodus usually creates the webhook automatically. If that didn’t happen, follow these steps to set it up manually:
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.
  1. Navigate to your Forgejo repository
  2. Click Settings in the right sidebar
  3. Select Webhooks
  4. Click Add WebhookForgejo
  5. Configure your webhook:
    • Target URL: Enter the URL where you want to receive notifications, the URL you set for GLOBAL_FORGEJO_CODE_MANAGEMENT_WEBHOOK in your .env file
    • HTTP Method: POST
    • POST Content Type: application/json
    • Trigger On: Select these events:
      • Push events
      • Pull Request events
      • Issues events
      • Issue Comment events
    • Active: Check
  6. Click Add Webhook
And that’s it! You’ve successfully set up a webhook to do code reviews in your Forgejo repository.