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 58 forks source link

Is it possible to ignore line count from deleted files? #66

Closed OnkarRuikar closed 4 months ago

OnkarRuikar commented 7 months ago

Thank you for the such an useful tool!

We have implemented it in mdn/content. In this PR only files were deleted, we use a custom command to deletions so there was almost no effort reviewing the PR.

But the PR got the biggest size label size/xl. Is is possible to ignore lines from deleted files?

johnlk commented 5 months ago

Love this idea! Agreed. At least providing an option like ignore_deletions: false which is false by default

johnlk commented 4 months ago

Addressed in #76 🤞🏻