chore(harness): add actions/stale workflow to auto-close inactive issues and PRs#141
Merged
Conversation
…ues and PRs Add GitHub's maintained actions/stale action on a daily schedule. Issues and pull requests inactive for 14 days are marked stale with a comment, then closed 7 days later if still untouched; any comment, commit, or label change resets the clock. help wanted and good first issue labels are exempt, and draft PRs are never marked stale. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Add GitHub's maintained
actions/staleaction so inactive issues and pull requests are surfaced and eventually closed automatically, keeping the backlog honest. The job runs daily at 01:00 UTC and can also be triggered manually viaworkflow_dispatch.The policy is two-phase (warn before close), so nothing is closed cold:
stalewith a comment.stalelabel.help wantedandgood first issueare exempt; draft PRs are never marked stale.The
stalelabel is managed by the action; it is an operational state label, separate from thetype:/area:/impact:taxonomy incontexts/dev/labels.md.Related Issue
No issue applies — this is repository maintenance automation.
Verification
check-yamlpre-commit hook validated the workflow file.verifypre-push hook (scoped totypes: [python]) is not exercised andscripts/verify.shhas no runtime surface to cover here.Checklist
type(scope): summary.bash scripts/verify.shpasses. — Not exercised: no Python diff; theverifyhook is Python-scoped.