Skip to content

Commit f698873

Browse files
committed
chore: add github push token screts for github release
1 parent 81f04a5 commit f698873

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/github-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
required: true
1010
type: string
1111
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
1217

1318
permissions:
1419
contents: write
@@ -28,6 +33,7 @@ jobs:
2833
env:
2934
VERSION: ${{ inputs.version }}
3035
with:
36+
github-token: ${{ secrets.GH_PUSH_TOKEN || github.token }}
3137
script: |
3238
const version = process.env.VERSION;
3339
let releaseNotes = '';

0 commit comments

Comments
 (0)