File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,11 +124,11 @@ def mock_asynchttpclient(request):
124124 if not token :
125125 load_mock_responses ("http-record.api.github.com.json" )
126126 load_mock_responses ("http-record.zenodo.org.json" )
127- if token and token .startswith ("ghs- " ):
127+ if token and token .startswith ("ghs_ " ):
128128 # The GitHub Actions provided temporary token (secrets.github_token)
129129 # does not have access to api.github.com/gists. Due to this, we mock
130130 # such requests even if such token is provided. We recognize them by
131- # being a server-to-server token with a ghs- prefix as compared to for
131+ # being a server-to-server token with a ghs_ prefix as compared to for
132132 # example a personal access token.
133133 #
134134 # More about github token prefixes:
You can’t perform that action at this time.
0 commit comments