ci: add stale-issue/PR workflow [skip changelog] - #947
Merged
Conversation
Adds actions/stale@v10.2.0 (SHA-pinned) on a daily cron plus manual workflow_dispatch trigger. - Issues: 60 days inactive then stale, 14 more then close. - PRs: 30 days inactive then stale, 10 more then close. - Exempt issues: pinned, blocker, blocked, priority:p0/p1, spec-drift, tool-release (the bare tool-release label is also applied to per-tool tool-release:<id> issues, so it covers those too). - Exempt PRs: pinned, blocker, priority:p0/p1, dependencies (keeps dependabot PRs out of the staling loop). - remove-stale-when-updated keeps the stale label honest if activity resumes.
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new scheduled/manual GitHub Actions workflow to automatically mark inactive issues and pull requests as stale and close them after configured grace periods.
Changes:
- Adds daily
actions/staleworkflow with minimal write permissions for issues/PRs. - Configures separate stale/close thresholds for issues and PRs.
- Exempts priority, pinned/blocking, release/tool-tracking, and dependency-labeled items.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
actions/stale@v10.2.0(SHA-pinned) on a daily cron + manual dispatch.pinned,blocker,blocked,priority:p0,priority:p1,spec-drift,tool-release. The baretool-releaselabel is applied to every per-tooltool-release:<id>issue (seescripts/check-tool-releases.sh), so per-tool issues stay exempt too.pinned,blocker,priority:p0,priority:p1,dependencies- so dependabot PRs are not staled.remove-stale-when-updated: trueclears the stale label automatically when activity resumes.Test plan
workflow_dispatchonce after merge to dry-run against the current backlog (the action posts comments and labels, so review the first run before letting cron run unattended).priority:p1) is not touched.