jwodder / labelmaker

Create & enforce sets of labels in GitHub repositories
MIT License
2 stars 0 forks source link

Reject invalid Description strings #13

Closed jwodder closed 10 months ago

jwodder commented 10 months ago

GitHub requires label descriptions to be no more than 100 characters long. labelmaker should reject descriptions that do not satisfy this.

It's likely that GitHub enforces further checks, such as prohibiting newlines and/or control characters. Validate for these as well.


Observations:

jwodder commented 10 months ago

Decision: Like #4, labelmaker will match GitHub's description normalization but not prohibit too-long descriptions.