Add a file for storing the token

This commit is contained in:
tituspijean
2022-12-29 14:50:32 +01:00
parent c87472b0e2
commit 1f1d5986da
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ from github import Github
from github.Workflow import Workflow
# API token for yunohost-bot, with "delete_repo" right
g = Github("TOKEN_REPLACE_ME")
g = Github(open(".github_token").read().strip())
u = g.get_user("yunohost-bot")
# Let's build a minimalistic summary table