1. GitHub App
In order to be able to listen and respond to pull request events, we need to create a GitHub App for prdeploy.
1. Create GitHub App¶

- Navigate to https://github.com and sign in.
- Click on your profile photo in the top right and choose Your Organizations.
- Click on the organization you want to add prdeploy to.
- Select the Settings tab, expand Developer settings on the left nav and choose GitHub Apps.
- Click New GitHub App in the top right.
-
Fill in at least the following information:
Field Value GitHub App Name prdeploy myorg Description Allows the entire build-deploy lifecycle to happen within a feature branch. Homepage URL https://prdeploy.myorg.com Webhook URL https://prdeploy.myorg.com/webhooks Secret Any secure set of characters (see below). Generating a secret with Node:
Make sure to copy the Secret set above into your notes for use with AWS Parameter Store.
1. Configure permissions and events¶
- Set each of the Permissions as follows:

Repository Permissions
| Scope | Permission |
|---|---|
| Actions | Read and write |
| Administration | Read-only |
| Checks | Read-only |
| Contents | Read and write |
| Issues | Read-only |
| Metadata | Read-only |
| Pull requests | Read and write |
Organization Permissions
| Scope | Permission |
|---|---|
| Members | Read-only |
Account Permissions
| Scope | Permission |
|---|---|
| Email addresses | Read-only |
- Subscribe to the following events:
- Where can this GitHub App be installed? should be set to Only on this account.
- Click Create GitHub App.
2. Display information¶
- Scroll to the bottom of the GitHub App About page.
- Under Display information click on Upload a logo....
- Download and select the file from
https://github.com/greggbjensen/prdeploy/blob/main/docs/assets/images/logo-128x128.png.
3. Credentials and private key¶
-
From the top of the page add the following to your notes for use with AWS Parameter Store:
- App ID
- Client ID
-
At the bottom of the page click on Generate a private key.
- A
.pemfile will automatically download, remember this file location for AWS Parameter Store.
4. Install App¶
- Click on Install App on the left nav.
- Click Install to the right of your organization.
- Select Only select repositories.
- From the drop down, choose each repository you want to use prdeploy with.
- Click Install.