-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Labels
enhancementNew feature or requestNew feature or request
Description
It would be great if this action would also set the email and name. In order to do other git operations it is required. I am adding this to my actions to get around it:
steps:
- uses: actions/checkout@v1
- name: Setup git user
run: |
git config --global user.name "$(git --no-pager log --format=format:'%an' -n 1)"
git config --global user.email "$(git --no-pager log --format=format:'%ae' -n 1)"Unfortunately I don't have access to the user email. It seems like these can come from the account in a more clean way here, but I guess I could also create my own action. Since this is so new I am not sure what the best way forward is so thought I would post here.
sunt05, jeversmann-shipstation, fbartho, WarrenWeckesser, hairyhenderson and 73 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request