Skip to content

Commit d074bea

Browse files
authored
Package step with email (#138)
Package step with email
1 parent ff26a0a commit d074bea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
npm run build
2222
- name: Commit
2323
run: |
24-
git config --global user.name "GitHub Actions"
24+
git config user.name "$(git log -n 1 --pretty=format:%an)"
25+
git config user.email "$(git log -n 1 --pretty=format:%ae)"
2526
git add dist/
2627
git commit -m "chore: Update dist" || echo "No changes to commit"
2728
git push origin HEAD:main

0 commit comments

Comments
 (0)