-
Notifications
You must be signed in to change notification settings - Fork 6k
Add stale workflow for 180-day inactive issues and PRs #1594
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
Conversation
Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com>
Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com>
mnriem
left a comment
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.
Mark stale at 150 days. Close out at 180 days?
Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com>
Updated in commit ba65aac. The workflow now marks items as stale at 150 days and closes them at 180 days total (30-day grace period). |
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.
Pull request overview
Adds a GitHub Actions workflow to automatically manage stale issues and pull requests, helping keep the repository’s tracker clean and reducing long-lived inactive items.
Changes:
- Introduces
.github/workflows/stale.ymlto mark issues/PRs as stale after 150 days of inactivity. - Automatically closes stale issues/PRs after an additional 30 days (180 days total).
- Exempts items labeled
pinnedorsecurity, and caps processing to 100 operations per run.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add stale workflow for 180-day inactive issues and PRs (github#1594)
Adds automated stale management using
actions/stale@v9.Configuration
pinnedorsecurityBehavior
Issues and PRs with no activity for 150 days are labeled
stalewith a notification comment. If no activity occurs within 30 additional days (180 days total), they're automatically closed. Any activity removes the stale label and prevents closure.Workflow:
.github/workflows/stale.yml💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.