-
Notifications
You must be signed in to change notification settings - Fork 9.8k
feat: add scheduled workflow to close stale issues #14404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
Adds a new GitHub Action `gemini-scheduled-stale-issue-closer.yml` to automatically manage the issue backlog. - Runs weekly on Sundays. - Closes issues created > 3 months ago with no updates in the last 10 days and < 5 reactions. - Adds a friendly comment before closing. - Includes a `workflow_dispatch` trigger with a `dry_run` option for safe testing. - Currently limits processing to the oldest 100 open issues to ensure safe incremental cleanup.
Contributor
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
|
Size Change: -2 B (0%) Total Size: 21.5 MB ℹ️ View Unchanged
|
kklashtorny1
reviewed
Dec 2, 2025
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| issue_number: issue.number, | ||
| body: "Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.\n\nIt looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to reopen this issue or create a new one with updated details.\n\nThank you for your contribution!" |
Collaborator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since external users are unable to reopen closed issues, can we say:
Suggested change
| body: "Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.\n\nIt looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to reopen this issue or create a new one with updated details.\n\nThank you for your contribution!" | |
| body: "Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.\n\nIt looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.\n\nThank you for your contribution!" |
bdmorgan
approved these changes
Dec 3, 2025
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.
Summary
Adds a new scheduled GitHub Actions workflow (
gemini-scheduled-stale-issue-closer.yml) to automatically tidy up the issue backlog. This workflow identifies and closes old, inactive issues to help maintainers focus on active development and recent bug reports.Details
The new workflow runs weekly on Sundays and applies the following logic:
Criteria for Closing:
Actions Taken:
Safety Features:
workflow_dispatchtrigger with adry_runinput. This allows maintainers to manually trigger the workflow and verify which issues would be targeted without actually modifying them.Related Issues
How to Validate
[DRY RUN]prefixes.Pre-Merge Checklist