We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81f04a5 commit d39ac58Copy full SHA for d39ac58
1 file changed
.github/workflows/github-release.yml
@@ -9,6 +9,11 @@ on:
9
required: true
10
type: string
11
description: Version to release
12
+ secrets:
13
+ # In case we want to trigger other workflows like ones that uses pushed tags
14
+ GH_PUSH_TOKEN:
15
+ required: false
16
+ description: GitHub token with push permissions
17
18
permissions:
19
contents: write
@@ -56,6 +61,7 @@ jobs:
56
61
env:
57
62
RELEASE_NOTES: ${{ steps.release_notes.outputs.notes }}
58
63
with:
64
+ github-token: ${{ secrets.GH_PUSH_TOKEN || github.token }}
59
65
script: |
60
66
const notes = process.env.RELEASE_NOTES;
67
const version = '${{ inputs.version }}';
0 commit comments