Hi,
This suggestion came from Twitter discussion started by @bcoe (link)
GitHub App lock locks closed issues and pull requests after a period of inactivity.
How about using this App on NodeJS core repo?
The only concern I see is comments related to backporting in Pull Requests.
The PR is still open to comments from collaborators so it shouldn't be a concern. And in a rare case, a collaborator can always unlock the PR if comments/response is required from a non-collaborator.
Regards,
Trivikram
has there been a problem with comments in closed issues that shouldn't be in those closed issues? if so this sounds ok.
less openI don't think locking a closed issue after a period of inactivity is particularly useful? Closing an issue after a period of inactivity on the other hand, is more useful.
Unless there has been a problem that would be fixed by locking after some period of time, I'd favor leaving as is.
I'd be in favor of auto-closing old issues. We have a long (_loooong_) backlog of probably-stale issues that no one is looking at, with many where discussion has meandered so much that no one is really sure anymore what they're even about.
There are 3 options in the end:
IMO, option 2 is a fair trade-off and still allows conversations but prunes the backlog.
(Just my 2 cents 鈽猴笍)
@sam-github This can be done with the suggested bot, (example: 2 months w/o activities). Then you can "announce" the close and give another grace period so the user can bump the issue again (if still relevant).
Example here: https://github.com/nuxt/nuxt.js/issues/3948#issuecomment-443190573
@manniL That last seems really helpful to me. I think a few people have been basically doing this manually, @trott and @bnoordhuis leap to mind, and it must be pretty tedious. Automating the nudge and closing out the issue if no one responds seems really useful.
Is the locking which was done in the example you linked required, or can it just be closed?
@sam-github lock and stale are two different bots, so no, you can use only stale and don't lock up issues at all :relaxed: You can also prevent issues with a certain label from becoming stale.
Our config for the stale bot can be found here :relaxed:
This issue is now stale 馃槃 What should we do?
Most helpful comment
I don't think locking a closed issue after a period of inactivity is particularly useful? Closing an issue after a period of inactivity on the other hand, is more useful.