fix: rename GITHUB_TOKEN to AGENTS_GH_TOKEN (reserved name)

This commit is contained in:
2026-03-21 09:02:55 +01:00
parent eb17d8dbff
commit ba1048fd97
3 changed files with 11 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ from github import Github
def get_github_client():
token = os.environ["GITHUB_TOKEN"]
token = os.environ["AGENTS_GH_TOKEN"]
repo_name = os.environ["GITHUB_REPO"]
g = Github(token)
return g.get_repo(repo_name)