Adds automated handling of inactive issues/PRs (dry-run) #1296
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.
Description
FYI, Zappa turns 8 years old on January 20th! 🎂
Unfortunately, that also means we have a lot of Issues/PRs migrated from the original repo that are nearly that old too. As a result, we currently have an unwieldy mess of a backlog that makes it difficult to properly prioritize and evaluate Issues/PRs and whether they still are relevant after, in many cases, several years of new Zappa releases. Manually triaging this kind of historical backlog would take up a lot of time and result in few actionable items.
So, in the interest of reducing both the maintenance load and clutter in this repo, this PR adds a bot that will identify Issues/PRs that haven't seen any activity in at least 90 days (~3 months), and will leave a comment to inform the author (and/or any other interested users) that they can add a comment within 10 days to keep the Issue/PR open (and, if they do so, the bot will label it as needing attention from Zappa's maintainers).
However, if no comment is added within 10 days (which I imagine will be the case for the vast majority of our multi-year old Issues/PRs), then the bot will automatically close it to reduce clutter (while again leaving a helpful comment for users who may find the closed Issue/PR in the future that instructs them to open a new Issue/PR if they find it's still relevant).
Note: This PR introduces this bot in "dry-run"/"debug mode", which means it won't actually make any changes, but will log what changes it would have made. Letting it go through a few dry-runs first will provide us with data that will show us if it is behaving as intended. If not, the config can be tweaked, but, if so, "debug mode" can be turned off so this bot can begin helping us create a more organized repo with a more manageable backlog for 2024. 🎉