Skip to content

chore(harness): add actions/stale workflow to auto-close inactive issues and PRs#141

Merged
keli-wen merged 1 commit into
masterfrom
chore/stale-bot
Jul 23, 2026
Merged

chore(harness): add actions/stale workflow to auto-close inactive issues and PRs#141
keli-wen merged 1 commit into
masterfrom
chore/stale-bot

Conversation

@keli-wen

Copy link
Copy Markdown
Contributor

Summary

Add GitHub's maintained actions/stale action 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 via workflow_dispatch.

The policy is two-phase (warn before close), so nothing is closed cold:

  • An issue or PR with no activity for 14 days is marked stale with a comment.
  • If it stays inactive for 7 more days it is closed (21 days total).
  • Any comment, commit, or label change resets the clock and clears the stale label.
  • help wanted and good first issue are exempt; draft PRs are never marked stale.

The stale label is managed by the action; it is an operational state label, separate from the type: / area: / impact: taxonomy in contexts/dev/labels.md.

Related Issue

No issue applies — this is repository maintenance automation.

Verification

  • check-yaml pre-commit hook validated the workflow file.
  • This is a workflow-only change with no Python diff, so the verify pre-push hook (scoped to types: [python]) is not exercised and scripts/verify.sh has no runtime surface to cover here.

Checklist

  • The title uses English Conventional Commit format: type(scope): summary.
  • The related issue or design discussion is linked when applicable.
  • bash scripts/verify.sh passes. — Not exercised: no Python diff; the verify hook is Python-scoped.
  • Every applicable live-network component smoke test passes, or this PR states why none applies. — None applies; no component code changes.
  • Public behavior has focused tests, an example, and documentation where applicable. — Not applicable to a CI-only workflow.
  • The PR is complete, small, and contains no unrelated changes.

…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>
@keli-wen keli-wen added type: maintenance Specific repository upkeep; not a miscellaneous catch-all area: harness Contributor and agent controls, CI, hooks, skills, and rulesets labels Jul 23, 2026
@keli-wen keli-wen self-assigned this Jul 23, 2026
@keli-wen
keli-wen merged commit 1fdefda into master Jul 23, 2026
2 checks passed
@keli-wen
keli-wen deleted the chore/stale-bot branch July 23, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: harness Contributor and agent controls, CI, hooks, skills, and rulesets type: maintenance Specific repository upkeep; not a miscellaneous catch-all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant