Skip to content

Send GitHub webhooks to ElasticSearch

License

Notifications You must be signed in to change notification settings

ball-hayden/github2es

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Cloud Build Status

Accepts GitHub webhooks, and forwards them to ElasticSearch to do whatever you like with.

GitHub Setup

  1. Define a webhook with payload URL of <yourdomain>/webhook.
  2. Select a Content Type of "application/json"
  3. Define a webhook secret, and note it down to set as an environment variable

Environment Variables

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.

About

Send GitHub webhooks to ElasticSearch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published