Skip to content

Commit

Permalink
Merge pull request #259 from github/jm_fix_token_assignment
Browse files Browse the repository at this point in the history
fix: use GH_TOKEN env var for token
  • Loading branch information
jmeridth authored Jan 7, 2025
2 parents d6c4576 + ced24cf commit 2392d1d
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 2392d1d

Please sign in to comment.