To enable the self-hosted BundleMon service to interact with GitHub, you must create a GitHub App with specific permissions and provide its credentials via environment variables.
Required GitHub App Permissions
- Metadata: Read
- Pull requests: Read & write
- Checks: Read & write
- Commit statuses: Read & write
GitHub App Configuration
After creating the app in GitHub, provide the following environment variables. Note that for the GITHUB_APP_PRIVATE_KEY, you must replace new lines with \n to ensure it is a valid single-line string.
| ------------------------ | ------------------------ |
| GITHUB_APP_ID | GitHub App ID |
| GITHUB_APP_PRIVATE_KEY | GitHub App private key |
| GITHUB_APP_CLIENT_ID | GitHub App client ID |
| GITHUB_APP_CLIENT_SECRET | GitHub App client secret |