ci : add github action/stale to automatically flag and close inactive issues
#23641
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.
What does this PR do?
This PR is part of DevTools Week.
.github/workflows/stale.ymlactions/stale@v10It aims to replace the outdated repository https://github.com/che-incubator/chestnut-lite which is not working since January (see Chestnut actions page). Here a few benefits of using GitHub Actions instead of our own solution:
Behavior
lifecycle/stalelifecycle/frozenare exemptScreenshot/screencast of this PR
This workflow is supposed to run as a GitHub action every night and post comments on issues that are inactive since some time:
If even after marking issue/PR stale there is no activity. Issue is closed:
What issues does this PR fix or reference?
This issue is part of #23627
How to test this PR?
I've tested it on a personal repo.
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or referenceandHow to test this PRcompletedReviewers
Reviewers, please comment how you tested the PR when approving it.