sethvargo / ratchet

A tool for securing CI/CD workflows with version pinning.
Apache License 2.0
769 stars 32 forks source link

fix: emoji and unicode parsing by switching to yaml fork #54

Closed dcreey closed 1 year ago

dcreey commented 1 year ago

Fork is specifically maintained by @braydonk particularly for the interests of yamlfmt. Context: https://github.com/go-yaml/yaml/issues/737#issuecomment-1232029064

Before: Any multi-line string with emojis will collapse into a single line string and the emoji will be escaped.

After: Multi-line strings with emojis are correctly left unedited.

sethvargo commented 1 year ago

I guess... do we have a use case for supporting emojis?

dcreey commented 1 year ago

Emojis are often used in github actions when posting comments on PRs/Issues.