Skip to content

Commit a615386

Browse files
committed
chore: added git identity step to publish workflow
1 parent 30e9b8d commit a615386

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ jobs:
4848
fetch-depth: 0
4949
ssh-key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
5050

51+
# This uses a reverse-engineered email for the github actions bot. See
52+
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
53+
- name: Git Identity
54+
run: |
55+
git config --global user.name 'github-actions[bot]'
56+
git config --global user.email '<41898282+github-actions[bot]@users.noreply.github.com'
57+
5158
- name: Setup Node.js
5259
uses: actions/setup-node@v7
5360
with:

0 commit comments

Comments
 (0)