1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

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
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View file

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

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