Showing results for 
Search instead for 
Did you mean: 
Pilot Lvl 1
Message 1 of 3

[BUG] Branch protection settings break for checks with emojis 🙅‍♂️

So my GitHub App posts a check called Work-in-progress state 🤖.

When I create a branch projection in the repo, I select Require status checks to pass before merging.

Then, I select Work-in-progress state 🤖 and save.


Next thing I notice: there's now ☐ Work-in-progress state 🤖 and ☑️ Work-in-progress state in options.

So it saved another check name as an expectation and there's no way to select and save the correct one with emoji.


On the PR discussion page, down next to "Merge" button it also says Work-in-progress state  Expected — Waiting for status to be reported which, of course, is not what I wanted.


So I've tried removing that emoji and whitespace before it from my code and it still didn't match that branch protection check.

I used DevTools to inspect the label on the branch protection page and found out that there's a trailing space.


So this time it didn't work because "Work-in-progress state " != "Work-in-progress state"


From my observation, it looks like some sanitizing code on the branch protection page is broken affecting other places by just saving the wrong value to the database. It seems it removes Unicode things but in my case, it was especially hard to debug because that trailing whitespace is hard to visually spot on the web-page.


I hope, this can be addressed :)

2 Replies
Community Manager
Message 2 of 3

Re: [BUG] Branch protection settings break for checks with emojis 🙅‍♂️

Hi @webknjaz,


Thanks for being here and for taking the time to write in about this, are you still having this issue?

I hope this helps,

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Pilot Lvl 1
Message 3 of 3

Re: [BUG] Branch protection settings break for checks with emojis 🙅‍♂️

Just checked. Now it's even worse: I'm getting HTTP 500 internal server error at when trying to select that check with emoji and save it.

And the related check itself is at