Draft
Conversation
Co-authored-by: DeveloperAlly <12529822+DeveloperAlly@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement stale issue detector for SE-3-03
[SE-3-03] Add stale issue detector workflow
Mar 10, 2026
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.
Implements automated stale issue management scoped to
docs-v2issues, marking inactive issues and closing them if unaddressed.Description
Adds
actions/stale@v9-based workflow that marksdocs-v2issues stale after 60 days of inactivity and auto-closes them after 14 more days. Exempt labels (pinned, critical/high priority, in-progress, needs-triage, needs-info) prevent false positives. The rolling docs-v2 index issue is pinned on creation to avoid being swept.Scope
In scope:
.github/workflows/stale-issue-detector.yml— new workflow.github/workflows/issue-auto-label.yml— new label metadata entries.github/workflows/docs-v2-issue-indexer.yml— pin index issue on creationv2/resources/documentation-guide/automations-workflows.mdx— English docsv2/es/resources/documentation-guide/automations-workflows.mdx— Spanish docsOut of scope: All other workflows, content pages, label logic beyond metadata registration.
Validation
actions/stale@v9— no known CVEs (Advisory DB checked)ensureLabelpatterns inissue-auto-label.ymlFollow-up Tasks
status: pinnedto any pre-existing index issues that were created before this changedays-before-issue-stale(currently 60) after first month of operationType of Change
New CI/CD automation workflow + supporting label definitions + documentation.
Related Issues
Related to #
Changes Made
.github/workflows/stale-issue-detector.yml— daily (03:00 UTC) +workflow_dispatch;only-labels: docs-v2; stale at 60d, close at +14d; PRs excluded (days-before-pr-stale: -1); capped at 30 ops/run.github/workflows/issue-auto-label.yml— registersstatus: pinned,status: stale,status: autoclosedinlabelMetasoensureLabelcreates them with correct colors/descriptions.github/workflows/docs-v2-issue-indexer.yml— addsstatus: pinnedto index issue labels on creation, making it exempt from stale detectionTesting
npm run devScreenshots (if applicable)
N/A — no UI changes.
Checklist
Additional Notes
exempt-issue-labelscovers all labels that signal active triage or high urgency. Removingstatus: stalefrom any issue resets its timer without any workflow changes needed.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.