Forgejo support is maintained by the community.
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.- Navigate to your Forgejo repository
- Click Settings in the right sidebar
- Select Webhooks
- Click Add Webhook → Forgejo
-
Configure your webhook:
- Target URL: Enter the URL where you want to receive notifications, the URL you set for
GLOBAL_FORGEJO_CODE_MANAGEMENT_WEBHOOKin your.envfile - 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
- Target URL: Enter the URL where you want to receive notifications, the URL you set for
- Click Add Webhook