spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

Merge pull request #1662 from anthropics/rboyce/action-dupeBrowse files
Add duplicate detection to triage action
Robert Boyce authored on Jun 5, 2025 · GitHub committed on Jun 5, 2025 parents d9cc2b5 + bb083ee · commit 6370398030f4
1 changed file+13 -5compared with d9cc2b5
M.github/actions/claude-issue-triage-action/action.yml
@@ -55,14 +55,22 @@
5555 - User impact
5656 - Components affected
5757
58- 4. Select appropriate labels from the available labels list provided above:
58+ 4. Identify existing duplicate issues:
59+ - Use mcp__github__search_issues to find similar issues
60+ - List out all open or recently closed issues that seem likely to be reports of the same problem
61+ - Place the best candidate issue to merge into at the top of the list.
62+ The best candidate issue is the one that is:
63+ 1. Has the same underlying cause as the current issue
64+ 2. Is the most complete and well-documented
65+ 3. Is the oldest open issue that is still relevant
66+
67+ 5. Select appropriate labels from the available labels list provided above:
5968 - Choose labels that accurately reflect the issue's nature
6069 - Be specific but comprehensive
61- - Select priority labels if you can determine urgency (high-priority, med-priority, or low-priority)
62- - Consider platform labels (android, ios) if applicable
63- - If you find similar issues using mcp__github__search_issues, consider using a "duplicate" label if appropriate. Only do so if the issue is a duplicate of another OPEN issue.
70+ - Consider platform labels (macos, linux, windows) if applicable
71+ - Do not apply the "duplicate" label unless you are certain the issue is a duplicate of another open issue
6472
65- 5. Apply the selected labels:
73+ 6. Apply the selected labels:
6674 - Use mcp__github__update_issue to apply your selected labels
6775 - DO NOT post any comments explaining your decision
6876 - DO NOT communicate directly with users