You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find up to 3 likely duplicate issues for issue #${{ env.ISSUE_NUMBER }} in ${{ github.repository }}.
62
60
63
61
Follow these steps precisely:
64
62
65
-
1. Use `gh issue view ${{ env.ISSUE_NUMBER }} --repo ${{ github.repository }} --comments` to read the issue and its comments. If the issue is closed, or is broad product feedback without a specific bug/feature request, or already has a duplicate detection comment (containing `<!-- duplicate-detection -->`), stop and report why you are not proceeding.
63
+
1. Use `gh issue view ${{ env.ISSUE_NUMBER }} --repo ${{ github.repository }} --comments` to read the issue and its comments. If the issue is closed, or is broad product feedback without a specific bug/feature request, or already has a duplicate detection comment (containing `<!-- duplicate-detection -->`), return an empty duplicates array with skip_reason explaining why.
66
64
67
65
2. Summarize the issue's core problem in 2-3 sentences. Identify the key terms, error messages, and affected components.
68
66
@@ -74,36 +72,85 @@ jobs:
74
72
75
73
4. For each candidate issue that looks like a potential match, read it with `gh issue view <number> --repo ${{ github.repository }}` to verify it is truly about the same problem. Filter out false positives — issues that merely share keywords but describe different problems.
76
74
77
-
5. If you find 1-3 genuine duplicates, you MUST run the following commands exactly as shown. Do NOT paraphrase or reformat the comment body — the `<!-- duplicate-detection -->` marker is required for automated processing.
- Only flag issues as duplicates when you are confident they describe the **same underlying problem**
79
+
- Prefer open issues as duplicates, but closed issues can be referenced too
80
+
- Do not flag the issue as a duplicate of itself
87
81
88
-
d. Post the comment. You MUST use this EXACT command with the EXACT format below (only replace N with the count and <dup_list> with lines like `- #123 — Title`):
0 commit comments