Skip to content

Commit ab45a88

Browse files
authored
configurable app
1 parent 421d538 commit ab45a88

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111

1212

1313
GITHUB_APP_PRIVATE_KEY = os.environ['APP_PRIVATE_KEY']
14-
GITHUB_APP_IDENTIFIER = 124662
15-
GITHUB_INSTALLATION_ID = 18015726
14+
# https://github.com/organizations/7Learnings/settings/installations/18015726
15+
GITHUB_APP_IDENTIFIER = os.getenv('GITHUB_APP_IDENTIFIER', 124662)
16+
GITHUB_INSTALLATION_ID = os.getenv('GITHUB_INSTALLATION_ID', 18015726)
1617

1718
# https://jwt.io/introduction
1819
def b64(b: typing.Union[str, bytes]) -> str:

0 commit comments

Comments
 (0)