Convert deprecated stalebot to github action #28695
Merged
+46
−35
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.
Summary
This repo uses Stalebot to manage stale Issues and PRs. Stalebot hasn't been maintained for a couple of years and is officially archived. The number of open Issues and PRs has increased rapidly since early 2022. Some of this looks like issues with Stalebot reliability where labels were not applied or close actions were not taken even when meeting the criteria in the config.
In order to make it easier for maintainers to spend time on current Issues and PRs, let's upgrade to the Github Stale Action. For now this PR applies the same config to the new action but we can iterate on it as needed. The goal is to clean up abandoned and no-longer-relevant submissions, not to close Issues that describe active bugs or feedback.
How did you test this change?
Added
debug-only: 'true'
to this PR so we can run the action and review the logs before allowing the action to run on schedule. We may see a large amount of label changes and close actions on the first run as the action clears out previously ignored stale submissions.