Skip to content

Commit 1222372

Browse files
committed
Fix: using correct token in semantic-release's git step
1 parent e4e351f commit 1222372

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,12 @@ jobs:
4949
- name: Install Dependencies
5050
run: npm ci
5151

52-
- name: Set Commitbot Identity
53-
run: |
54-
git config user.name "im-pipeline-bot"
55-
git config user.email "[email protected]"
56-
5752
- name: Semantic Release
5853
env:
59-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
GIT_AUTHOR_NAME: 'im-pipeline-bot'
55+
GIT_AUTHOR_EMAIL: '[email protected]'
56+
GIT_COMMITTER_NAME: 'im-pipeline-bot'
57+
GIT_COMMITTER_EMAIL: '[email protected]'
58+
GITHUB_TOKEN: ${{ secrets.PIPELINE_BOT_PAT }}
6059
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6160
run: npx semantic-release

0 commit comments

Comments
 (0)