monorepo-split-github-action icon indicating copy to clipboard operation
monorepo-split-github-action copied to clipboard

Commit messages with single quote throw a syntax error.

Open bswatson opened this issue 1 year ago • 1 comments

Received the following message from the Github Action -

[NOTE] Pushing git commit with "Add a github action to split the plugin into it's own repository in order to release composer packages." message to "main"

sh: 1: Syntax error: Unterminated quoted string

I believe the commit message needs to be escaped when used in the git commit.

https://github.com/symplify/monorepo-split-github-action/blob/e5a3284a0bf07e0df6c564399ff0a31bf105bd4e/entrypoint.php#L117

bswatson avatar Jan 07 '23 00:01 bswatson