feat(workflows): auto-lock closed issues and PRs older than X days#49033
feat(workflows): auto-lock closed issues and PRs older than X days#49033
Conversation
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
provokateurin
left a comment
There was a problem hiding this comment.
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. |
|
Any news for a Go/no-Go here ? |
|
I think we wanted to have this, but I just brought it up in our team chat again to see how we want to proceed. |

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