pr-size-labeler
pr-size-labeler copied to clipboard
Match the whole label with grep
Hello!
I added -w
option to grep so it matches the whole label name.
We have other labels in our repos and it's matching the first character, ie:
- Our size labels are: XS,S,M,L,XL
- Other labels we have start with S,M,L, as in Simulation, Microservice, etc
When grep runs it matches S
imulation, thus later removing it from the PR (which we don't want!)