Skip to content

Commit 7aca067

Browse files
authored
chore(publish): set git user (#350)
1 parent 3e70e62 commit 7aca067

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
registry-url: 'https://registry.npmjs.org'
2828
- name: Install dependencies
2929
run: npm ci
30+
- name: Set up git user
31+
run: |
32+
git config user.name "${GITHUB_ACTOR}"
33+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
34+
env:
35+
GITHUB_ACTOR: ${{ github.actor }}
3036
- name: Publish to npm
3137
run: npm run release -- --ci --verbose
3238
env:

0 commit comments

Comments
 (0)