Describe the bug
Specifying a value of git-user with spaces, even wrapped with double-quotes, fails the action when run.
To Reproduce
Use a value for git-user such as My User or "My User". Run the action, only the first word will be used as the git-user argument and the next word as the value for git-email.
Expected behavior
The YAML string, quoted or not, as defined in the GHA workflow file should be used as the value for git-commit.
Additional context
I believe the issue is in the cog step of action.yml, specifically that the action inputs are not quoted when calling cog.sh. I suspect wrapping each of those arguments in double quotes would resolve the issue.
Describe the bug Specifying a value of
git-user
with spaces, even wrapped with double-quotes, fails the action when run.To Reproduce Use a value for
git-user
such asMy User
or"My User"
. Run the action, only the first word will be used as thegit-user
argument and the next word as the value forgit-email
.Expected behavior The YAML string, quoted or not, as defined in the GHA workflow file should be used as the value for
git-commit
.Additional context I believe the issue is in the cog step of
action.yml
, specifically that the action inputs are not quoted when callingcog.sh
. I suspect wrapping each of those arguments in double quotes would resolve the issue.