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

Feature Request: Regular expression support for files_to_ignore parameter

Open Alton09 opened this issue 3 years ago • 6 comments

It would be great if user's could include a regular expression for the files_to_ignore parameter. For example if you wanted to exlclude test classes from the size counting you could add something like this...

files_to_ignore: '*Test*'

Alton09 avatar Aug 17 '22 15:08 Alton09

This seems the same issue;

https://github.com/CodelyTV/pr-size-labeler/issues/38

mediamartin avatar Aug 18 '22 09:08 mediamartin

@mediamartin #50 did not fix this issue :(

wundo avatar Apr 20 '23 13:04 wundo

Is there an update on when #50 is going to be released?

jmfennell avatar Sep 28 '23 12:09 jmfennell

Poking if theres plan for a new release that includes https://github.com/CodelyTV/pr-size-labeler/pull/50 ?

mipierre avatar Feb 01 '24 14:02 mipierre

FYI, you can refer to the specific commit where https://github.com/CodelyTV/pr-size-labeler/pull/50 was implemented in your workflow:

jobs:
  labeler:
    runs-on: ubuntu-latest
    name: Label the PR size
    steps:
      - uses: codelytv/pr-size-labeler@d269449310fe33526c56b2dfe6244e3a9f489b15

Once this is applied, the regex seems to work fine for me :)

Aavache avatar Feb 07 '24 05:02 Aavache