File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -302,6 +302,9 @@ inputs:
302
302
sarif-token :
303
303
description : " Token for use with github/codeql-action/upload-sarif"
304
304
required : false
305
+ checkout-token :
306
+ description : " Token for use with actions/checkout (the default is to use the github.token)"
307
+ required : false
305
308
306
309
outputs :
307
310
unknown_words :
@@ -398,7 +401,7 @@ runs:
398
401
path : ${{ inputs.experimental_path }}
399
402
ssh-key : ${{ inputs.ssh_key }}
400
403
fetch-depth : ${{ !contains(inputs.check_commit_messages, 'commits') && '1' || '0' }}
401
- token : ${{ inputs.GITHUB_TOKEN }}
404
+ token : ${{ inputs.checkout-token || inputs. GITHUB_TOKEN }}
402
405
ref : |
403
406
${{
404
407
github.event_name == 'issue_comment' &&
@@ -414,7 +417,7 @@ runs:
414
417
path : ${{ inputs.experimental_path }}
415
418
ssh-key : ${{ inputs.ssh_key }}
416
419
fetch-depth : ${{ !contains(inputs.check_commit_messages, 'commits') && '1' || '0' }}
417
- token : ${{ inputs.GITHUB_TOKEN }}
420
+ token : ${{ inputs.checkout-token || inputs. GITHUB_TOKEN }}
418
421
ref : |
419
422
${{
420
423
github.event_name == 'issue_comment' &&
You can’t perform that action at this time.
0 commit comments