We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 370d172 commit a917fb1Copy full SHA for a917fb1
bin/check-test-version.py
@@ -297,6 +297,10 @@ def check_test_version(
297
opts = parser.parse_args()
298
verify_spec_location(opts.spec_path)
299
if opts.create_issue:
300
+ if opts.token is None:
301
+ if os.path.isfile('.github.api_token'):
302
+ with open('.github.api_token') as f:
303
+ opts.token = f.read().strip()
304
if opts.token is not None:
305
gh = GitHub(api_token=opts.token)
306
else:
0 commit comments