-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Allow-Empty commit argument not working #350
Comments
Looks like there's an explicit check in code that the working tree is not empty, reasonably assuming that no one would be wanting to intentionally allow empty commits. Lines 40 to 43 in 018fe62
|
Hi, thanks for opening the issue! I don't want to allow empty commits by default, since I don't want the action to fail in that case, so I guess I could check whether the |
Describe the bug
I am attempting to use the new commit arguments option to create an empty commit by passing in '--allow-empty'. The logs show that it is correctly evaluated as an input. The precise commit command does not seem to be printed by even detailed debug logs, but the internal logs show the normal 'Working tree clean. Nothing to commit.' message, indicating the argument was not executed.
Workflow used
Expected behavior
Expected the 'commit: --allow-empty' option to be passed to the commit command and successfully create an empty commit.
Logs
The text was updated successfully, but these errors were encountered: