kestra-io / plugin-git

Apache License 2.0
3 stars 4 forks source link

Git Push username and e-mail #43

Closed kriko closed 8 months ago

kriko commented 9 months ago

Feature description

Currently Git Push when commiting to a repository states that the commit was made by user root with an e-mail address of root@kestra-worker-.......-.......

If possible change this behaviour to at least use the Git username defined in https://kestra.io/plugins/tasks/io.kestra.plugin.git.Push#username

Screenshot from GitLab. image

anna-geller commented 9 months ago

Excellent point, I also wondered about this, we should improve this for sure 👍

loicmathieu commented 8 months ago

To be able to add the author, we will need to add the email of the author as task property as the username is not enought.

loicmathieu commented 8 months ago

In fact author and username are two different things for Git. I'll add new fields to be able to set the author of the commit.