-
-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option "git-config-email" being empty has no effect #868
Comments
It looks like it's not handling the empty string case correctly here as it's assumed this would never want to be empty. Right now if an email is not provided by the workflow then it will default to the one provided to the action, or a fallback noreply email. Can you help me understand why you'd want this to be empty? |
i would like to not have the original commiter's email, to have a consistent gh-pages commit log (and because they did not actually make that commit) and because it is also not signed (which i would also not want to set-up for a workflow) and so i would like to not associate that commit with the original commiter's account |
This is something that I'm thinking about using to push my own website which is a github pages website. If no one has taken a shot at this issue yet, I'd like to take a shot. |
Apologies for the delay on this. This can be tested by pointing your workflow to the following: I'm aiming to bundle this with the next release. |
This has been released as part of version |
This has been changed in |
Describe the bug
Also, setting option
git-config-email
to be explicitly empty, has no effect (still using original email) (this should either be mentioned or behave like when doinggit commit --author "Someone <>"
)Reproduction Steps
Use action like in the
Getting Started
, have the mentioned option set to be empty (see below for the full file) and have a commit that triggers this workflow with emailLogs
Workflow link: https://github.com/typegoose/typegoose/runs/3575932754 (Step name
Deploy to Github Pages
)Logs
Additional Comments
Workflow file for that commit: https://github.com/typegoose/typegoose/blob/4be023058b352fde261f7ebb6a6a02788d8a877e/.github/workflows/website.yml
Resulting commit: typegoose/typegoose@1750a72
Action version: 4.1.5
The text was updated successfully, but these errors were encountered: