diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87780931..cb53cb3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,8 +37,6 @@ jobs: run: | echo "$GPG_PRIVATE_KEY" > private.key gpg --batch --import private.key - git config --global user.name "drackp2m-semantic-release-bot" - git config --global user.email "187212958+drackp2m-semantic-release-bot@users.noreply.github.com" git config --global commit.gpgSign true git config --global user.signingkey 89AE9225AE159D89 echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf @@ -48,4 +46,8 @@ jobs: - name: Run semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GIT_AUTHOR_NAME: 'drackp2m-semantic-release-bot' + GIT_AUTHOR_EMAIL: '187212958+drackp2m-semantic-release-bot@users.noreply.github.com' + GIT_COMMITTER_NAME: 'drackp2m-semantic-release-bot' + GIT_COMMITTER_EMAIL: '187212958+drackp2m-semantic-release-bot@users.noreply.github.com' run: node --run release