Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 11, 2026

Adds automated stale management using actions/stale@v9.

Configuration

  • Triggers: Daily at 00:00 UTC via cron, plus manual dispatch
  • Stale threshold: 150 days of inactivity
  • Grace period: 30 days after marking stale before closure
  • Exemptions: Items labeled pinned or security
  • Rate limiting: 100 operations per run

Behavior

Issues and PRs with no activity for 150 days are labeled stale with 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.

Copilot AI and others added 2 commits February 11, 2026 21:50
Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com>
Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub actions workflow to close stale issues and PRs Add stale workflow for 180-day inactive issues and PRs Feb 11, 2026
Copilot AI requested a review from mnriem February 11, 2026 21:53
Copy link
Collaborator

@mnriem mnriem left a 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>
Copy link
Contributor Author

Copilot AI commented Feb 11, 2026

Mark stale at 150 days. Close out at 180 days?

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).

Copilot AI requested a review from mnriem February 11, 2026 21:56
@mnriem mnriem marked this pull request as ready for review February 11, 2026 21:59
Copilot AI review requested due to automatic review settings February 11, 2026 21:59
Copy link
Contributor

Copilot AI left a 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.yml to 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 pinned or security, and caps processing to 100 operations per run.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mnriem mnriem merged commit 9a1e303 into main Feb 11, 2026
11 checks passed
@mnriem mnriem deleted the copilot/add-github-actions-workflow branch February 11, 2026 22:03
nathan-a-king added a commit to nathan-a-king/spec-kit that referenced this pull request Feb 11, 2026
Add stale workflow for 180-day inactive issues and PRs (github#1594)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants