discussions icon indicating copy to clipboard operation
discussions copied to clipboard

Bot: automatically close issues

Open Emuentes opened this issue 6 years ago • 4 comments

Let's select and implement a bot to auto-close issues on this and the other ExpressJS repos

Emuentes avatar Aug 27 '19 19:08 Emuentes

I am personally against stale bots. As it runs of predefined logic based on time factors, the content being closed is never subjected for any inspection, it can be an undue injustice to the code contributors.

gireeshpunathil avatar Mar 25 '20 11:03 gireeshpunathil

Maybe we can customize the Probot to avoid closing issues that contains certain labels such as waiting-for-feedback or similar. Sounds like a great way to reduce number of old issues

UlisesGascon avatar Apr 04 '20 13:04 UlisesGascon

Maybe we can customize the Probot to avoid closing issues that contains certain labels such as waiting-for-feedback or similar. Sounds like a great way to reduce number of old issues

Agree!

ryhinchey avatar Apr 04 '20 13:04 ryhinchey

I've been very happy with https://probot.github.io/apps/stale/. After a set amount of time of inactivity on an issue or PR, the bot adds a label, such as stale. If there is still no activity after another set amount of time the issue is closed. You can also configure a label like pin to keep the bot from ever marking the issue/pr stale or closing it.

Here is the config we use on Nock. I will say, that adding the bot to older repos does create a bit a churn initially that can be overwhelming. I recommend rolling it out slowly on newer repos or ones with less open issues.

This repo has less than 30 open issues, it seems like a good candidate. A decision would have to be made on preferred timeframes before the bot takes action.

mastermatt avatar Jun 04 '20 03:06 mastermatt