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:
parent
c87472b0e2
commit
1f1d5986da
2 changed files with 3 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue