Skip to content

Commit

Permalink
fix: use GH_TOKEN env var for token
Browse files Browse the repository at this point in the history
was mistakenly set from ORGANIZATION env var

Signed-off-by: jmeridth <jmeridth@gmail.com>
  • Loading branch information
jmeridth committed Jan 7, 2025
1 parent d6c4576 commit ced24cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stale_repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit ced24cf

Please sign in to comment.