Skip to content

chore: add stale bot for needs-info issues#442

Merged
Soju06 merged 3 commits intomainfrom
chore/stale-bot
Apr 20, 2026
Merged

chore: add stale bot for needs-info issues#442
Soju06 merged 3 commits intomainfrom
chore/stale-bot

Conversation

@Soju06
Copy link
Copy Markdown
Owner

@Soju06 Soju06 commented Apr 20, 2026

Summary

Adds a GitHub Actions workflow that auto-closes issues labeled needs-info after a 14-day silence window.

Flow

  1. Maintainer (or triage bot) adds needs-info label + comment requesting details
  2. +7 days no reporter activity → workflow adds stale label + warning comment
  3. +7 more days still no activity → workflow closes as not_planned with a polite message
  4. Reporter replies or removes stale → timer resets, issue stays open

Guards

  • Only touches issues with needs-info label (won't grim-reap random stuff)
  • PRs are excluded (days-before-pr-* = -1)
  • Exempt labels: pinned, security, in-progress
  • operations-per-run: 100 to stay well under API limits
  • Scheduled daily at 05:00 UTC (14:00 KST)
  • Manual trigger via workflow_dispatch for testing

Context

Part of the triage cleanup today — 62 unlabeled issues classified, 3 duplicates closed, 11 underspecified issues received needs-info requests. This automates the cleanup tail so we don't have to revisit them manually.

Crawfish (Triage Bot) and others added 3 commits April 20, 2026 13:19
Auto-close workflow for issues labeled `needs-info`:
- 7 days with no reporter activity → marked `stale`
- 7 more days with no activity → closed as `not_planned`
- Removing `stale` label or updating the issue resets the timer
- PRs are not affected (days-before-pr-* = -1)
- Exempt labels: pinned, security, in-progress
- remove pull-requests: write (PRs skipped via days-before-pr-*=-1)
- add timeout-minutes: 10 on stale job to cap runner hangs
@Soju06
Copy link
Copy Markdown
Owner Author

Soju06 commented Apr 20, 2026

Applied review feedback from #review:

  • Removed pull-requests: write (unused — PRs skipped via days-before-pr-*: -1)
  • Added timeout-minutes: 10 on the stale job to cap runner hangs

Commit: 0b05dbd

@Soju06 Soju06 merged commit 70701ea into main Apr 20, 2026
18 checks passed
@Soju06 Soju06 deleted the chore/stale-bot branch April 20, 2026 13:28
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