fregante/daily-version-action
View on GitHubIts git user is persisted in the config (for the current job)
Open
#8 opened on Jun 1, 2020
bughelp wanted
Repository metrics
- Stars
- (22 stars)
- PR merge metrics
- (PR metrics pending)
Description
Since #7, if git config user.email is empty, the action will set user.email and user.name. This is persisted even after the step.
Ideally instead this should not happen.
I tried passing the git author via ENVs but I couldn't get exec/execFile to use them: #7@891d43e I don't know why this happens. The envs work correctly when git is run outside Node.
Any help would be appreciated.