Skip to main content

Auto-Close Configuration

The auto_close section in your simili.yaml controls how and when confirmed duplicates are automatically closed.

Configuration Options

grace_period_hours

  • Type: Number
  • Default: 72
  • Description: The number of hours Simili Bot will wait after applying the potential-duplicate label before it is allowed to close the issue. This allows time for human maintainers or the issue author to override the bot’s decision.

dry_run

  • Type: Boolean
  • Default: false
  • Description: When set to true, the simili auto-close command will log its intentions but will not actually close any issues or post any comments on GitHub.

Deployment in GitHub Actions

The auto-close feature is typically run on a schedule (cron job).

CLI Overrides

When running simili auto-close via the CLI, you can override the configuration file:
  • --grace-period-minutes: Set a grace period in minutes (useful for testing).
  • --dry-run: Force dry-run mode regardless of config file settings.

Next Steps

Auto-Close Guide

Learn how human activity detection works.

CLI Reference

Full CLI command reference.