Skip to content

[BUG] git-email values with spaces, even when double-quoted, cause failed builds #28

@nharward

Description

@nharward

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions