File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def get_repository_info(identifier: RepositoryIdentifier) -> Optional[Repository
6767 logger .info ("Getting info for {}/{}" , owner , name )
6868
6969 # create a logged in GitHub client
70- client = login (token = getenv ("GITHUB_ACCESS_TOKEN " ))
70+ client = login (token = getenv ("GH_ACCESS_TOKEN " ))
7171
7272 info : RepositoryInfo = {}
7373
@@ -139,8 +139,8 @@ def get_repository_info(identifier: RepositoryIdentifier) -> Optional[Repository
139139 raise RuntimeError ("No config data file found. Exiting." )
140140
141141 # if the GitHub Access Token isn't found, raise an error
142- if not getenv ("GITHUB_ACCESS_TOKEN " ):
143- raise RuntimeError ("Access token not present in the env variable `GITHUB_ACCESS_TOKEN `" )
142+ if not getenv ("GH_ACCESS_TOKEN " ):
143+ raise RuntimeError ("Access token not present in the env variable `GH_ACCESS_TOKEN `" )
144144
145145 REPOSITORIES = []
146146 TAGS : Counter = Counter ()
You can’t perform that action at this time.
0 commit comments