Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 585 Bytes

File metadata and controls

15 lines (14 loc) · 585 Bytes

GitHub App Setup

  1. Create a GitHub App with:
    • Read/write pull requests
    • Read/write contents
    • Read-only metadata
    • Read-only checks
    • Webhooks for check_run, check_suite, pull_request, push, installation, and installation_repositories
  2. Generate a private key and store it on the host.
  3. Install the app into the repositories you want to automate.
  4. Set these environment variables in .env:
    • GITHUB_APP_ID
    • GITHUB_APP_PRIVATE_KEY_PATH
    • GITHUB_WEBHOOK_SECRET
  5. Point the GitHub App webhook URL to POST /api/v1/webhooks/github.