From 66ae4b4f2e8082c8af9777f601dfce45f4b3987e Mon Sep 17 00:00:00 2001 From: madjin <32600939+madjin@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:17:55 -0500 Subject: [PATCH] update variable --- scripts/fetch_contributors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/fetch_contributors.py b/scripts/fetch_contributors.py index faa5629..204f2ef 100644 --- a/scripts/fetch_contributors.py +++ b/scripts/fetch_contributors.py @@ -183,7 +183,7 @@ def get_contributor_data(repo_owner, repo_name, output_dir, headers, force=False print(f"Saved data for {username}") if __name__ == "__main__": - GITHUB_TOKEN = os.getenv("GITHUB_TOKEN") + GITHUB_TOKEN = os.getenv("GH_ACCESS_TOKEN") if not GITHUB_TOKEN: print("Error: Please set the GITHUB_TOKEN environment variable.") sys.exit(1) @@ -201,6 +201,6 @@ def get_contributor_data(repo_owner, repo_name, output_dir, headers, force=False args.repo_owner, args.repo_name, args.output, - {"Authorization": f"Bearer {GITHUB_TOKEN}"}, + {"Authorization": f"Bearer {GH_ACCESS_TOKEN}"}, args.force )