From 9a5838cb05d808a5211285d7c287d755118433a5 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 29 Dec 2022 14:50:32 +0100 Subject: [PATCH] Add a file for storing the token --- tools/bot-repo-cleanup/cleanup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bot-repo-cleanup/cleanup.py b/tools/bot-repo-cleanup/cleanup.py index 727ff90..f2275c6 100644 --- a/tools/bot-repo-cleanup/cleanup.py +++ b/tools/bot-repo-cleanup/cleanup.py @@ -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