Skip to content

Commit

Permalink
fix(release): use correct syntax for github actor
Browse files Browse the repository at this point in the history
  • Loading branch information
borisrizov-zf committed Jan 10, 2024
1 parent 87632bc commit 86976a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ jobs:
if: github.event_name != 'pull_request'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_EMAIL: [email protected]
GIT_AUTHOR_EMAIL: ${{ env.GITHUB_ACTOR }}@users.noreply.github.com
run: |
npx --yes -p @semantic-release/exec -p @semantic-release/changelog -p @semantic-release/git -p @semantic-release/commit-analyzer -p @semantic-release/release-notes-generator semantic-release
- name: Run semantic release (dry run)
if: github.event_name == 'pull_request'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_EMAIL: [email protected]
GIT_AUTHOR_EMAIL: ${{ env.GITHUB_ACTOR }}@users.noreply.github.com
run: |
npx --yes -p @semantic-release/exec -p @semantic-release/github -p @semantic-release/changelog -p @semantic-release/git -p @semantic-release/commit-analyzer -p @semantic-release/release-notes-generator semantic-release --dry-run
Expand Down

0 comments on commit 86976a6

Please sign in to comment.