pr-size-labeler icon indicating copy to clipboard operation
pr-size-labeler copied to clipboard

Match the whole label with grep

Open lionseal opened this issue 1 year ago • 0 comments

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 Simulation, thus later removing it from the PR (which we don't want!)

lionseal avatar Jan 17 '24 18:01 lionseal