fix: rename GITHUB_TOKEN to AGENTS_GH_TOKEN (reserved name)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user