Skip to content

Commit 3c6a83f

Browse files
committed
utils: Link to GitHub's authentication documentation
This can help with understanding the parameters and updating them if they ever need to change. Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent 26e906b commit 3c6a83f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def get_gh_json(endpoint):
141141
"""
142142
curl_cmd = ['curl', '-LSs']
143143
if 'GITHUB_TOKEN' in os.environ:
144+
# https://docs.github.com/en/rest/overview/authenticating-to-the-rest-api
144145
curl_cmd += [
145146
'-H',
146147
'Accept: application/vnd.github+json',

0 commit comments

Comments
 (0)