Skip to content

Commit 44f9b28

Browse files
committed
fix: 🐛 use bot token
1 parent 2917e50 commit 44f9b28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
@semantic-release/git
3030
env:
3131
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
32-
GITHUB_TOKEN: ${{ bot_token }}
32+
GITHUB_TOKEN: ${{ env.bot_token }}
3333

3434
- name: Publish To GitHub Package Registry
3535
if: steps.semantic.outputs.new_release_published == 'true'
@@ -39,10 +39,10 @@ jobs:
3939
registry-url: https://npm.pkg.github.com
4040
scope: bubkoo
4141
env:
42-
NODE_AUTH_TOKEN: ${{ bot_token }}
42+
NODE_AUTH_TOKEN: ${{ env.bot_token }}
4343

4444
- name: Publish To GitHub Package Registry
4545
if: steps.semantic.outputs.new_release_published == 'true'
4646
run: npm publish
4747
env:
48-
NODE_AUTH_TOKEN: ${{ bot_token }}
48+
NODE_AUTH_TOKEN: ${{ env.bot_token }}

0 commit comments

Comments
 (0)