Accepts GitHub webhooks, and forwards them to ElasticSearch to do whatever you like with.
- Define a webhook with payload URL of
<yourdomain>/webhook
. - Select a Content Type of "application/json"
- Define a webhook secret, and note it down to set as an environment variable
Name | Description |
---|---|
GITHUB_APP_WEBHOOK_SECRET |
GitHub webhook secret. See https://docs.github.com/en/developers/webhooks-and-events/securing-your-webhooks#setting-your-secret-token |
ELASTICSEARCH_INDEX |
ElasticSearch Index to send events to. |
ELASTICSEARCH_URL |
ElasticSearch URL. |