Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.18 KB

05-create-github-app.md

File metadata and controls

39 lines (27 loc) · 1.18 KB

In this section, we will create a new GitHub app with the required permissions to commit changes to an open pull request.

Create a GitHub App

Go to https://github.com/settings/apps

Click "New GitHub App" and complete the form:

  • GitHub App Name: my English editor (dev)
  • Homepage URL: any will do (e.g. https://winglang.io)
  • Webhook:
  • Permissions -> Repository permissions:
    • Contents: Read and write
    • Pull requests: Read and write
  • Subscribe to events:
    • Pull request
    • Push

Click "Create GitHub App"

Notice the app id and save it.

In the bottom of the page click "Generate a private key" - The generated key will be downloaded to your computer.

Install the App

Create a new repository in GitHub; we will use this repository for local development and testing.

Install the app by going to https://github.com/settings/apps.

Look for "my English editor" application and click Edit.

On the left side, click "Install App" and select the new repository as the installation target.

🚀 We will next use the app id, private key, and webhook secret to develop the app. 🚀