Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Regular expression support for files_to_ignore parameter #45

Open
Alton09 opened this issue Aug 17, 2022 · 6 comments
Open

Comments

@Alton09
Copy link

Alton09 commented Aug 17, 2022

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
Copy link

This seems the same issue;

#38

@wundo
Copy link

wundo commented Apr 20, 2023

@mediamartin #50 did not fix this issue :(

@jmfennell
Copy link

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

@mipierre
Copy link

mipierre commented Feb 1, 2024

Poking if theres plan for a new release that includes #50 ?

@Aavache
Copy link

Aavache commented Feb 7, 2024

FYI, you can refer to the specific commit where #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 :)

@Ian1971
Copy link

Ian1971 commented Nov 4, 2024

Does #50 only work on filenames? or does it parse folders as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants