Skip to content

Commit c3bbcb4

Browse files
authored
Add passthrough for GitHub tokens
PATs are required for adding assets to releases.
1 parent c8ef72f commit c3bbcb4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ inputs:
1313
project-name:
1414
description: 'The name of the project.'
1515
default: ${{ github.event.repository.name }}
16+
17+
token:
18+
description: "Authorized secret GitHub Personal Access Token. Defaults to github.token"
19+
required: false
20+
default: ${{ github.token }}
1621

1722
runs:
1823

@@ -35,6 +40,7 @@ runs:
3540
files: |
3641
${{ inputs.project-name }}-${{ inputs.release-tag }}-sha256sum.txt
3742
${{ inputs.project-name }}-${{ inputs.release-tag }}.zip
43+
token: ${{ inputs.token }}
3844

3945
branding:
4046
icon: lock

0 commit comments

Comments
 (0)