Skip to content

Commit 322ef7a

Browse files
Workflow fix (#81)
* ci: fixing npm release job * ci: updated sem-rel npm config * ci: added octo-sts as commit author * ci: formatting * ci: explicit git author * ci: more explicit git author
1 parent 8bba78e commit 322ef7a

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ jobs:
6262
env:
6363
GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}
6464
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
65-
GIT_AUTHOR_NAME: octo-sts[bot]
66-
GIT_AUTHOR_EMAIL: ${{ steps.get-user-id.outputs.user-id }}+octo-sts[bot]@users.noreply.github.com
67-
GIT_COMMITTER_NAME: octo-sts[bot]
68-
GIT_COMMITTER_EMAIL: ${{ steps.get-user-id.outputs.user-id }}+octo-sts[bot]@users.noreply.github.com
69-
run: npx semantic-release
65+
run: |
66+
git config --global user.name 'octo-sts[bot]'
67+
git config --global user.email "${{ steps.get-user-id.outputs.user-id }}+octo-sts[bot]@users.noreply.github.com"
68+
npx semantic-release

0 commit comments

Comments
 (0)