ci : add github action/stale to automatically flag and close inactive issues#23641
Open
rohanKanojia wants to merge 1 commit intoeclipse-che:mainfrom
Open
ci : add github action/stale to automatically flag and close inactive issues#23641rohanKanojia wants to merge 1 commit intoeclipse-che:mainfrom
action/stale to automatically flag and close inactive issues#23641rohanKanojia wants to merge 1 commit intoeclipse-che:mainfrom
Conversation
… issues Add GitHub action to automatically add comments on inactive issues and close them after a week of activity. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
f3c7a1f to
3ab5d03
Compare
ibuziuk
reviewed
Dec 2, 2025
|
|
||
| on: | ||
| schedule: | ||
| - cron: "0 2 * * *" # Run every day at 02:00 UTC |
Member
There was a problem hiding this comment.
Any particular preference for this timing?
Contributor
Author
There was a problem hiding this comment.
No, it was just an arbitrary value. We can change it to any value as per our needs.
ibuziuk
approved these changes
Dec 2, 2025
Member
|
for what it worth, looks like https://github.com/che-incubator/chestnut-lite flow is working again, so not sure we need to merge the PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.