Skip to content

Commit

Permalink
fix(actions): add git author and commiter env vars for semantic-relea…
Browse files Browse the repository at this point in the history
…se signed commits
  • Loading branch information
Xunnamius committed Nov 24, 2020
1 parent d2374d7 commit f01d16b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,8 @@ jobs:
fetch-depth: 0 #1000 https://github.com/mstachniuk/ci-skip#use-cases
token: ${{ secrets.GH_TOKEN }}

- name:

- name: Restore dependencies
uses: actions/cache@v2
id: restore-dependencies
Expand Down Expand Up @@ -491,4 +493,8 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
EDITOR: echo semantic-release-bot > $1
SHOULD_UPDATE_CHANGELOG: ${{ github.event_name != 'pull_request' && needs.metadata.outputs.current-branch == 'main' }}
GIT_AUTHOR_NAME: ${{ env.CI_COMMITTER_NAME }}
GIT_AUTHOR_EMAIL: ${{ env.CI_COMMITTER_EMAIL }}
GIT_COMMITTER_NAME: ${{ env.CI_COMMITTER_NAME }}
GIT_COMMITTER_EMAIL: ${{ env.CI_COMMITTER_EMAIL }}
run: npx semantic-release

0 comments on commit f01d16b

Please sign in to comment.