kris6673/Issue Deduplicator
Detects duplicate GitHub issues using the Copilot SDK and comments, labels, or reports them.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub token. In workflows use `GITHUB_TOKEN` with `copilot-requests: write` and `issues: write` permissions. | yes | — |
| github_issue | Issue number to check. Defaults to the issue from the triggering event. | no | — |
| count | Maximum number of candidate issues to compare against. | no | 30 |
| since | Only consider issues updated after this date (ISO 8601). | no | — |
| since_days | Only consider issues updated in the last N days. Alternative to `since`; ignored if `since` is also set. | no | — |
| labels | Comma-separated labels to filter candidate issues by, or 'auto' to classify the issue against the repository's labels first. | no | — |
| state | State of candidate issues to consider (open, closed, all). | no | open |
| max_duplicates | Stop after this many confirmed duplicates. | no | 3 |
| confirm_duplicates | Confirm each duplicate with the stronger model before reporting it. | no | true |
| label_as_duplicate | Add the 'duplicate' label when duplicates are found. The action never removes this label automatically. | no | false |
| comment | Post (or update) a comment on the issue listing the duplicates found. | no | true |
| model | Copilot model for classification and batch detection. | no | gpt-5-mini |
| confirm_model | Copilot model for confirming duplicates. | no | claude-sonnet-5 |
| cli_version | Exact version of the @github/copilot CLI package to install, or 'latest'. Pinned by default; using 'latest' trades reproducibility for freshness. | no | 1.0.70 |
| byok_base_url | BYOK: base URL of your own OpenAI-compatible/Azure/Anthropic endpoint. Leave empty to use Copilot. | no | — |
| byok_api_key | BYOK: API key for the endpoint above. | no | — |
| byok_type | BYOK: provider type (openai, azure, anthropic). | no | openai |
Outputs
| name | description |
|---|---|
| found | "true" when at least one duplicate was found. |
| duplicates | JSON array of duplicates, each with number, title, url and reasoning. |