1
0
Fork 0

Add a file for storing the token

This commit is contained in:
tituspijean 2022-12-29 14:50:32 +01:00
parent 096752fa28
commit 8960287b22
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -5,6 +5,7 @@
.apps_cache .apps_cache
builds builds
tools/README-generator/venv/ tools/README-generator/venv/
tools/bot-repo-cleanup/.github_token
tools/autopatches/login tools/autopatches/login
tools/autopatches/token tools/autopatches/token

View file

@ -5,7 +5,7 @@ from github import Github
from github.Workflow import Workflow from github.Workflow import Workflow
# API token for yunohost-bot, with "delete_repo" right # 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") u = g.get_user("yunohost-bot")
# Let's build a minimalistic summary table # Let's build a minimalistic summary table