Skip to content

Commit ced24cf

Browse files
committed
fix: use GH_TOKEN env var for token
was mistakenly set from ORGANIZATION env var Signed-off-by: jmeridth <[email protected]>
1 parent d6c4576 commit ced24cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: stale_repos.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def main(): # pragma: no cover
3535
dotenv_path = join(dirname(__file__), ".env")
3636
load_dotenv(dotenv_path)
3737

38-
token = os.getenv("ORGANIZATION")
38+
token = os.getenv("GH_TOKEN")
3939
gh_app_id = os.getenv("GH_APP_ID")
4040
gh_app_installation_id = os.getenv("GH_APP_INSTALLATION_ID")
4141
gh_app_private_key = os.getenv("GH_APP_PRIVATE_KEY").encode("utf8")

0 commit comments

Comments
 (0)