CodelyTV / pr-size-labeler

🏷 Visualize and optionally limit the size of your Pull Requests
https://github.com/marketplace/actions/pull-request-size-labeler
MIT License
336 stars 57 forks source link

Feature Request: Regular expression support for files_to_ignore parameter #45

Open Alton09 opened 2 years ago

Alton09 commented 2 years ago

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*'
mediamartin commented 2 years ago

This seems the same issue;

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

wundo commented 1 year ago

@mediamartin #50 did not fix this issue :(

jmfennell commented 11 months ago

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

mipierre commented 7 months ago

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

Aavache commented 7 months ago

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 :)