Auto-Close Command
Close GitHub issues that have been confirmed as duplicates after the configured grace period.Syntax
Options
| Option | Short | Type | Description | Default |
|---|---|---|---|---|
--repo | string | Repository (owner/name). Falls back to GITHUB_REPOSITORY env var | - | |
--grace-period-minutes | number | Override grace period in minutes (useful for testing) | - | |
--config | -c | file | Path to configuration file | .github/simili.yaml |
--dry-run | bool | Simulate without making changes | false | |
--help | -h | bool | Show help message | - |
Grace period precedence
The effective grace period is resolved in this order (highest wins):--grace-period-minutesCLI flagauto_close.grace_period_hoursinsimili.yaml- 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 thepotential-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

