Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses #4143
This PR uses this very broadly used GH action to lock closed issues that have had no activity for 14 days.
It does not change the behavior around locking merged/deleted PRs, which is discussed more here.
QA Notes
This GH action will help us keep folks from commenting on old, closed issues.
Caution
We have a lot (I mean, tons and tons) of old, closed issues. This action will make a comment on every single one of these and generate a notification. It will process a bunch each day until it makes it through the whole backlog of closed issues. I've gone through this on a few other large repos and if you have notifications turned on, it is extremely annoying for the first several days while it works through all of them.
Option 1
We leave this as is and just deal with the onslaught of notifications, with the goal of getting to a better stage eventually. The disadvantage here is pretty clear. 😩
Option 2
We take out the comment and only lock, which I believe does not notify, possibly adding the comment in later, like next month sometime, after the backlog is worked through. The disadvantage is that people can feel quite put off when they find an old, locked issue that they feel is relevant to their problem; the comment can help them know what to do.