Stale Issue Bots: Several Views on Auto-Closing Inactive Issues

A stale bot labels issues and pull requests that have seen no activity for a set period, posts a warning, and closes them if nothing happens. On GitHub this is commonly done with the actions/stale workflow. Few maintenance tools provoke stronger reactions. Here are the main viewpoints, presented as positions people hold rather than quotes from anyone.

View one: bots keep the tracker honest

For maintainers of popular packages, the open issue count becomes meaningless once it passes a few hundred. Many of those issues refer to versions nobody runs, were answered in a comment and never closed, or lack the detail needed to act. A stale bot sweeps them away automatically, so the open list reflects work that is genuinely live. Supporters note that anyone can comment to keep an issue open, and that closed issues remain searchable.

View two: inactivity is not resolution

Users who hit a real bug see things differently. A confirmed defect does not stop existing because nobody commented for sixty days. When a bot closes it, the next person who finds the bug opens a duplicate, or worse, finds a closed issue and assumes it was fixed. Critics also point out a perverse incentive: the bot teaches users to post "still happening" comments purely to keep threads alive, which is exactly the noise maintainers wanted less of.

View three: use it, but narrowly

A middle position accepts the bot but limits its reach. Only issues labelled as awaiting information from the reporter are eligible; anything confirmed or labelled as a bug is exempt. An illustrative configuration:

# .github/workflows/stale.yml (excerpt, illustrative)
- uses: actions/stale@v9
  with:
    only-labels: needs-repro
    exempt-issue-labels: confirmed,security,pinned
    days-before-stale: 30
    days-before-close: 14
    stale-issue-message: >
      This issue is waiting for a reproduction. It will close in 14 days
      unless one is added. It can be reopened at any time.

Check the action's own documentation for the current version and option names before copying anything like this.

View four: do it by hand or not at all

Some maintainers reject automation here on principle. Closing someone's report is a judgment, and they would rather make it themselves, in a periodic triage pass, with a sentence explaining why. It takes more time, but every closure carries a reason. This view pairs naturally with the weekly routine described in our issue triage notes.

Comparing the positions

PositionMain benefitMain cost
Broad botLow effort, clean trackerReal bugs closed silently; duplicates
No bot, no triageNothing lostTracker becomes unusable
Narrow botAutomates the clear cases onlyDepends on consistent labelling
Manual closingEvery closure explainedOngoing maintainer time

Common ground

Whatever camp they sit in, most maintainers agree on a few points: the policy should be written in CONTRIBUTING.md, warning messages should be polite and say how to reopen, and anything security-related should never be closed automatically. Most also agree that a better issue template reduces the need for any of this, because fewer reports arrive incomplete.

A related question, what happens when the person doing all this triage wants to step away, is covered in views on maintainer succession. More package checklists are linked from the home page.