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
Validate the reusable workflow against GitHub Actions and action input contracts. Keep the workflow scoped to getsentry, validate required secrets before token creation, and configure pnpm setup to read automation/package.json.
Also reject cross-repository duplicate candidates before automatic closure so only same-repo duplicates can be closed without human review.
Co-Authored-By: GPT-5 Codex <noreply@openai.com>
Copy file name to clipboardExpand all lines: .agents/skills/issue-triage/SKILL.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ Goal: determine whether the new issue is a confirmed duplicate.
51
51
- Search open and closed issues in the same repository with `gh search issues --repo <repository>`.
52
52
- Add `--limit 10` to every `gh search issues` command.
53
53
- Exclude the current issue number from candidates.
54
+
- Only mark same-repository issues as duplicates. A cross-repository issue can be related context, but it must not be returned as `duplicate`.
54
55
3. Keep search terms specific.
55
56
- Do not search generic language, stack, or repo terms by themselves, such as `typescript`, `javascript`, `python`, `rust`, `language`, `rewrite`, `error`, or `timeout`.
56
57
- For low-signal rewrite requests like "rewrite in Rust" with body "because Rust is good", search only the exact title and exact distinctive body phrase. Do not fan out to generic terms.
Copy file name to clipboardExpand all lines: .agents/skills/issue-triage/SOURCES.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@
6
6
| --- | --- |
7
7
| User request in this session | Defines required behavior: duplicate search and closure, repository checkout, diagnosis, validation, concise issue rewrites, issue-triage-bot identity in the first comment sentence, casually professional comment voice, and inheriting `not planned` closure from canonical duplicate issues. |
| GitHub Actions events and workflow template documentation | Confirms issue events run from workflows in the event repository and org `.github` templates are for creating local workflow files, not global event subscription. |
? `cross-repo candidate from ${duplicateRepository}`
920
+
: "candidate URL did not identify a same-repo GitHub issue",
921
+
},
922
+
],
923
+
duplicate: duplicateSearch.duplicate,
924
+
labels_applied: [],
925
+
comment_posted: false,
926
+
needs_human_review: true,
927
+
summary: duplicateRepository
928
+
? `Found duplicate candidate #${duplicateSearch.duplicate.number} in ${duplicateRepository}, but automatic closure only supports same-repo duplicates.`
929
+
: `Found duplicate candidate #${duplicateSearch.duplicate.number}, but its URL could not be validated as a same-repo issue.`,
0 commit comments