From ced24cf8ae65e4e8723bd87ed9139f81045521e6 Mon Sep 17 00:00:00 2001 From: jmeridth Date: Tue, 7 Jan 2025 04:35:56 -0600 Subject: [PATCH] fix: use GH_TOKEN env var for token was mistakenly set from ORGANIZATION env var Signed-off-by: jmeridth --- stale_repos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stale_repos.py b/stale_repos.py index 0c7264e..95bd828 100755 --- a/stale_repos.py +++ b/stale_repos.py @@ -35,7 +35,7 @@ def main(): # pragma: no cover dotenv_path = join(dirname(__file__), ".env") load_dotenv(dotenv_path) - token = os.getenv("ORGANIZATION") + token = os.getenv("GH_TOKEN") gh_app_id = os.getenv("GH_APP_ID") gh_app_installation_id = os.getenv("GH_APP_INSTALLATION_ID") gh_app_private_key = os.getenv("GH_APP_PRIVATE_KEY").encode("utf8")