Skip to content

Commit 1a83c59

Browse files
author
Alexey Ryazanov
committed
fix: change token settings for release workflow
1 parent 777b741 commit 1a83c59

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- master
77

88
env:
9-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1110
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1211

@@ -23,6 +22,8 @@ jobs:
2322
git config --global user.email 'tinkoff-bot@users.noreply.github.com'
2423
2524
- uses: actions/checkout@v3
25+
with:
26+
token: ${{ secrets.TINKOFF_BOT_PAT }}
2627

2728
- uses: actions/setup-node@v3
2829
with:
@@ -37,3 +38,5 @@ jobs:
3738

3839
- name: Release
3940
run: npm run release
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.TINKOFF_BOT_PAT }}

0 commit comments

Comments
 (0)