Skip to content

Commit 7661491

Browse files
committed
misc: fix token for github-action
1 parent 6afc096 commit 7661491

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/on-merge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
submodules: recursive
2424
ref: main
25-
token: ${{ secrets.GITHUB_TOKEN }}
25+
token: ${{ secrets.DEPLOY_TOKEN }}
2626

2727
- uses: actions/setup-node@v1
2828
with:
@@ -36,7 +36,7 @@ jobs:
3636
id: extract-version-label
3737
uses: actions/github-script@v2
3838
with:
39-
github-token: ${{ secrets.GITHUB_TOKEN }}
39+
github-token: ${{ secrets.DEPLOY_TOKEN }}
4040
script: |
4141
const versionLabels = {
4242
'Action: patch bump': 'patch',
@@ -132,7 +132,7 @@ jobs:
132132
VERSION: ${{ steps.push.outputs.version }}
133133
BODY: ${{ steps.extract-changelog.outputs.version-part }}
134134
with:
135-
github-token: ${{ secrets.GITHUB_TOKEN }}
135+
github-token: ${{ secrets.DEPLOY_TOKEN }}
136136
script: |
137137
await github.repos.createRelease({
138138
owner: context.repo.owner,

0 commit comments

Comments
 (0)