-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(workflows): auto-lock closed issues and PRs older than X days #49033
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking for now for internal discussion
👍 I fear this will create a huge number of notifications, but I like the idea. It happens that people respond to issues and prs that were closed years ago and never receive a response (e.g. because the involved people are not there anymore). |
@kesselb You mean initially? We could incrementally tweak the options to chunk it. I guess this is one of those "rip the band-aid off things". Or, for the initial batch (existing closed Issues), we could configure to lock w/o comment. As long as the reason is set to Once that's done we can add the explanation comment+lock back in for newly closed Issues going forward. @solracsf I've thought about doing this. Thanks for taking action and pushing us all to think this through to see if we want to do it. |
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
I would even say an issue (bug report!) which was closed and not marked as stale (thus resolved) be be locked right after closing. |
Summary
Lock Threads is a GitHub Action that locks closed threads (issues, PRs) after a certain (configurable) period of inactivity.
The proposed workflow will search once a week (on sunday) for closed issues and pull requests that have not had any activity in the past 120 days, and lock them to Nextcloud collaborators only (whose can unlock/reopen/comment on them if needed).
This should prevent regular users to comment on old (out-of-date) threads and invite them to open a new issue instead, with up-to-date material.
More info at https://github.com/dessant/lock-threads
Checklist