Skip to content

Webhooks API ​

GitHub webhook receiver endpoint.

Receive Webhook ​

POST /webhooks/github

This endpoint receives webhooks from GitHub. It is called automatically by GitHub when events occur on installed repositories.

You should not call this endpoint directly. GitHub sends events here based on your GitHub App configuration.

Webhook Verification ​

All incoming webhooks are verified using the GITHUB_WEBHOOK_SECRET environment variable. The signature is validated using HMAC-SHA256.

Event Routing ​

The webhook worker routes events based on the X-GitHub-Event header:

EventActionsRouted To
issuesopened, labeled, closedTriage worker
issue_commentcreatedComment router
pull_requestopened, synchronizeTriage worker, AI Review
pull_request_reviewsubmittedFeedback processing
push—Config validation
repositorycreated, deletedSync worker
workflow_runcompletedCI Heal worker
installationcreated, deletedSync worker
installation_repositoriesadded, removedSync worker

Webhook Delivery Logging ​

Every webhook delivery is logged in the webhook_deliveries table:

FieldDescription
delivery_idGitHub's unique delivery ID
event_nameEvent type (e.g. issues)
actionEvent action (e.g. opened)
repoRepository full name
processedWhether the webhook was handled
errorError message if processing failed

→ Database Schema

Released under the MIT License.