import github

APP_ID = 0 # redacted
OWNER = ""
REPO = ""

with open("config/gh-app-key.pem") as f:
    app = github.GithubIntegration(APP_ID, f.read())

installation = app.get_installation(OWNER, REPO)
token = app.get_access_token(installation.id)

github.Github(token)
cd25e63833ada4c06094d0b056ef2be5115e770d
<mask token>

<mask token>
with open('config/gh-app-key.pem') as f:
    app = github.GithubIntegration(APP_ID, f.read())
<mask token>
github.Github(token)

<mask token>
APP_ID = 0
OWNER = ''
REPO = ''
with open('config/gh-app-key.pem') as f:
    app = github.GithubIntegration(APP_ID, f.read())
installation = app.get_installation(OWNER, REPO)
token = app.get_access_token(installation.id)
github.Github(token)

import github
APP_ID = 0
OWNER = ''
REPO = ''
with open('config/gh-app-key.pem') as f:
    app = github.GithubIntegration(APP_ID, f.read())
installation = app.get_installation(OWNER, REPO)
token = app.get_access_token(installation.id)
github.Github(token)

import github

APP_ID = 0 # redacted
OWNER = ""
REPO = ""

with open("config/gh-app-key.pem") as f:
    app = github.GithubIntegration(APP_ID, f.read())

installation = app.get_installation(OWNER, REPO)
token = app.get_access_token(installation.id)

github.Github(token)