dessant / lock-threads

GitHub Action that locks closed issues, pull requests and discussions after a period of inactivity
https://github.com/marketplace/actions/lock-threads
MIT License
313 stars 34 forks source link

Adding exemptLabels configuration option #1

Closed Ben3eeE closed 6 years ago

Ben3eeE commented 6 years ago

Thank you for making the lock-threads bot :bowing_man: This looks like a great bot that we are planning to add to the Atom org. One problem we are having that came up while reviewing the PR is that there is no way to exempt certain labels from being locked.

We close issues with the help-wanted label to clearly communicate that this is not something that the maintainers will have time to work on but would be interested in adding to Atom if someone from the community wants to help out. Because we close these issues unresolved with the help-wanted label we would also like the bot to not lock these issues so the community can continue their discussion in the issue.

We would be happy to submit a pull request to add an exemptLabels configuration option that would work similarly/the same way as the probot/stale bot exemptLabels config. I just wanted to first open an issue to ask if this is something that you would accept and to hear if you have any thoughts on it.

dessant commented 6 years ago

Awesome! I've released an update using Atom. :yum: You should be able to set exemptLabels just like in Stale.

Ben3eeE commented 6 years ago

Thank you so much!! :bowing_man: