Skip to main content

Auto-Close Command

Close GitHub issues that have been confirmed as duplicates after the configured grace period.

Syntax

Options

Grace period precedence

The effective grace period is resolved in this order (highest wins):
  1. --grace-period-minutes CLI flag
  2. auto_close.grace_period_hours in simili.yaml
  3. Built-in default: 72 hours

Examples

Standard auto-close run

Dry-run (preview only)

Testing with zero grace period

Using environment variable for repo

Human activity detection

The auto-closer will skip an issue if any of the following occur after the potential-duplicate label was applied:
  • A non-bot user posts a negative reaction (👎 or 😕) on the bot’s triage comment
  • The issue is reopened by a human
  • A non-bot comment is posted on the issue

Output

Scheduling with GitHub Actions

Run auto-close on a schedule:

Configuration

See Configuration Schema for full details.

Next steps

Duplicate detection guide

How duplicate detection works

Process command

Process individual issues