Skip to content

ci: auto-close inactive needs-investigation issues after 30 days - #350

Merged
zheli merged 2 commits into
mainfrom
zzz/5b2b81ef
Oct 3, 2026
Merged

zheli merged 2 commits into
mainfrom
zzz/5b2b81ef

Conversation

@zheli

@zheli zheli commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a scheduled workflow that closes issues labeled needs investigation after 30 days with no activity. The label stays human-applied; the workflow only closes.

Changes

  • Add .github/workflows/stale-needs-investigation.yml using SHA-pinned actions/stale@v11.0.0 on the self-hosted runner
  • Scope to needs investigation only; ignore PRs
  • Remove the label on new activity so the auto-close timer does not keep running after engagement

Test plan

  • Confirm the needs investigation label name matches exactly in the repo
  • Run the workflow via workflow_dispatch on this branch (or after merge on main) and check Actions logs
  • Optionally label a test issue and verify close behavior after adjusting days-before-issue-close temporarily
  • N/A: make test / make lint / e2e (workflow-only change)

Checklist

  • Tests pass locally (N/A — workflow YAML only)
  • No coverage regression on touched code (N/A)
  • Docs updated (and website/ synced if any mirrored docs/*.md changed) (N/A)
  • CLI ↔ Web UI parity maintained (or follow-up issue + TODO(#issue) comment) (N/A)

zheli added 2 commits October 2, 2026 10:07
Keep the backlog from accumulating labeled issues that nobody is acting on.
This workflow only talks to the GitHub API, so a self-hosted runner is unnecessary.
@zheli
zheli marked this pull request as ready for review October 3, 2026 09:23
@zheli
zheli merged commit 23ac77c into main Oct 3, 2026
22 checks passed
@zheli
zheli deleted the zzz/5b2b81ef branch October 3, 2026 09:23
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.

1 participant