Add workflow for automatically closing issues with user inactivity #24
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.
This PR adds a new GitHub workflow combination that automatically closes issues when there's no activity from the user for 10 days, addressing the need for better issue management across serpapps repositories.
What's Added
Reusable Workflow (
.github/workflows/close-inactive-issues.yml
)A configurable workflow that uses
actions/stale@v9
to detect and manage inactive issues:Workflow Template (
workflow-templates/call-close-inactive-issues.yml
)A ready-to-use template that other repositories can adopt:
Template Properties (
workflow-templates/call-close-inactive-issues.properties.json
)Metadata file that makes the template discoverable in GitHub's workflow template UI.
Key Features
Precise User Inactivity Detection: The workflow specifically targets cases where maintainers are waiting for user response, not general issue inactivity. This ensures legitimate ongoing discussions aren't interrupted.
Configurable Parameters:
Protection Mechanisms:
pinned
,security
,waiting-for-maintainer
Usage
Other serpapps repositories can now easily implement automated issue management by copying the workflow template to their
.github/workflows/
directory. The workflow will:This follows the established serpapps pattern for reusable workflows and integrates seamlessly with existing infrastructure.
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.