Skip to content

Commit a47e468

Browse files
authored
Merge pull request #42 from WTW-IM/export-es-module
Fix: using correct token in semantic-release's git step
2 parents e4e351f + b858f3c commit a47e468

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
uses: actions/checkout@v3
4040
with:
4141
token: ${{ secrets.PIPELINE_BOT_PAT }}
42+
depth: 0
4243

4344
- name: Setup Node
4445
uses: actions/setup-node@v3
@@ -49,13 +50,12 @@ jobs:
4950
- name: Install Dependencies
5051
run: npm ci
5152

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

0 commit comments

Comments
 (0)