Skip to content

The 🐛 character in a label fails #428

Open
@justinmchase

Description

@justinmchase

Problem Description

The 🐛 character in labels fails to set label description

What is actually happening

It sets the other labels and the other fields of the same label but the one with a unicode char has a blank description.

What is the expected behavior

I expect it to handle unicode characters gracefully and to successfully set settings.

Error output, if available

error calling find for Labels HttpError: Validation Failed: {"resource":"Label","code":"custom","field":"description","message":"description doesn't accept 4-byte Unicode"} for repo: {"owner":"xyz-payer","repo":"upde_nc_csp_adf_pipelines"} entries [{"name":"bug","color":"CC0000","description":"An issue with the system 🐛."},{"name":"feature","color":"336699","description":"New functionality."},{"name":"documentation","color":"7A95CC","description":"Includes changes to documentation"},{"name":"tech debt","color":"ff6600","description":"Non breaking refactor or cleanup changes"},{"name":"hotfix","color":"FF69B4","description":"Immediate reviews required for production issue"},{"name":"security","color":"b22222","description":"Related to Security Violations"},{"name":"breaking","color":"ff0000","description":"Includes a breaking change"},{"name":"ci","color":"228b22","description":"Includes a change to workflows or deployments"}]

Context

Are you using the hosted instance of probot/settings or running your own?

Running our own.

If running your own instance, are you using it with github.com or GitHub Enterprise?

github enterprise cloud (github.com/enterprisename)

Version of probot/settings

2.0.21-rc.8

Version of GitHub Enterprise

Not sure.

Metadata

Metadata

Assignees

No one assigned

    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