thehanimo / pr-title-checker

An action to automatically check if pull request titles conform to Contribution Guidelines
MIT License
106 stars 36 forks source link

Ignore PRs label #2

Closed Seluj78 closed 3 years ago

Seluj78 commented 3 years ago

Hi ! I'm about to setup your action in our repo (https://github.com/python/python-docs-fr) and I would like to know if it would be possible to add a config where you could specify one or more labels to be ignored by your check. For example, in our case it would be meta

Cheers !

thehanimo commented 3 years ago

Hey @Seluj78! I just released a new version (v1.2) supporting this. You can now add an array of label names to be ignored in the ignoreLabels field under CHECKS. Make sure you update your .github/workflows/pr-title-cheker.yml file to use v1.2. Also include labeled and unlabeled to the types field in the same file (Refer to the updated README file in case you need more info) in order to maintain consistency. Hope it helps you manage pull requests more efficiently.

Thank you so much for the suggestion!

Seluj78 commented 3 years ago

Wow thank you so much for your reactivity ! really appreciated ! I'll update my PR now (https://github.com/python/python-docs-fr/pull/1472) and let you know if everything works, and i'll let you know if I have any other suggestions

You rock 🚀

Seluj78 commented 3 years ago

I tried to add you as a co author but I didn't have your email 🤷‍♂️ f5c293c (#1472)