Add a file for storing the token
This commit is contained in:
parent
096752fa28
commit
8960287b22
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.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
|
|
@ -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…
Reference in a new issue