Closed codfish closed 6 months ago
Out of the box makes sense to me. I’ve not seen any real world use case for case sensitive labels
@mheap OK sounds good, I can put together a PR today for your review!
@mheap here you go! https://github.com/mheap/github-action-required-labels/pull/76
This was released in https://github.com/mheap/github-action-required-labels/releases/tag/v5.4.0
Thoughts on supporting case insensitivity out of the box OR adding it as an input?
https://github.com/mheap/github-action-required-labels/blob/main/index.js#L93C7-L93C77
The use case here is that we want to use this in a composite across repos but some repos have a "Do Not Merge" label spelled in different ways. In order to appropriately handle this, we have to do something like:
But that's obviously got a little bit of a smell to it, and the comment that get's posted isn't ideal.