A tiny GitHub App example built with Rails.
- Create your GitHub App on Register new GitHub App
- Set
Webhook URLto the server running this application - SetWebhook secretfor security - SetRead & Writepermission forPull requests - Create and configure
.envfile - SetGITHUB_APP_IDENTIFIERfrom your GitHub App - SetGITHUB_WEBHOOK_SECRETfrom your GitHub App - SetGITHUB_HOSToptionally, if you use GitHub Enterprise - Put
github-app.pemon project root directory - Get from your GitHub App config page - Run
rails server
- For GitHub
- For GitHub Enterprise (v2.14)