Skip to content

Commit

Permalink
Use the latest commit author
Browse files Browse the repository at this point in the history
  • Loading branch information
Jirka Fajfr committed Jun 4, 2024
1 parent ce221af commit 6bf3cea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
npm run build
- name: Commit
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
git add dist/
git commit -m "chore: Update dist" || echo "No changes to commit"
git push origin HEAD:main

0 comments on commit 6bf3cea

Please sign in to comment.