-
Notifications
You must be signed in to change notification settings - Fork 25
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
Changelog Enforcer does not support github emojis? #284
Comments
Note it might be as simple as adding
but I know nothing about JavaScript and maybe colons blow things up? 😄 |
I think you are right that this should be a simple Regex fix. Let me see what I can do. |
I have a fix up in #285. If you want to test, you can always update your action temporarily to point at that branch, but I'm pretty positive via the test it will handle your use case |
Looks like it worked! Plus I learned I can do: uses: dangoslen/changelog-enforcer@allow-for-emojis-in-labels which is good to know. Thanks for the quick fix! (Now I guess I debate whether to make a feature request...) |
No need for a feature request. This is definitely a bug. I'll create a |
Oh. I meant for something else I was thinking about, i.e., make a Github comment if the enforcer fails. :) |
Describe the bug
Recently, a group I work with in trying to enforce our own order for Github Labels, added emojis as a workaround (since Github sees them as text underneath) so we can move, say, "Non 0 Diff" early in the label dropdown.
The issue is that it looks like changelog-enforcer doesn't handle Github emojis. For example, I have in my yaml file:
But it looks like when the enforcer runs, the colons around
:wrench:
are stripped...maybe:So
:wrench: Github Actions
is nowwrench,Github Actions
Expected behavior
That it recognizes the emoji'd labels.
A link to or sample of your workflow
You can see my testing here:
mathomp4/labeltest-github-actions#10
The text was updated successfully, but these errors were encountered: