Skip to content

Commit

Permalink
Add missing git user config for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
carhartl committed Apr 21, 2023
1 parent ee043b4 commit 2d06dec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm install -g npm
- run: npm i
- name: Set up Git user
run: |
git config user.name "${{ github.workflow }}"
# This email identifies the commit as GitHub Actions - see https://github.com/orgs/community/discussions/26560
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- run: npm run release ${{ github.event.inputs.bump }}${{ github.event.inputs.dry-run == 'true' && ' -- --dry-run' || '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 2d06dec

Please sign in to comment.