cli/pkg/cmd/issue
Kynan Ware bff468bafe fix(pr create): wire up @copilot assignee replacement and [bot] suffix
Two bugs introduced in #13009 found during acceptance testing:

1. `pr create --assignee @copilot` sent the literal `@copilot` to the
   API because NewIssueState only ran MeReplacer on assignees, not
   CopilotReplacer. Fixed by switching to SpecialAssigneeReplacer (which
   handles both @me and @copilot) like issue create already does.

2. The replaceActorsForAssignable mutation requires the [bot] suffix on
   bot actor logins (e.g. `copilot-swe-agent[bot]`), unlike
   requestReviewsByLogin which has a separate botLogins field. Added the
   suffix in ReplaceActorsForAssignableByLogin for CopilotAssigneeLogin.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 23:26:28 -06:00
..
argparsetest Document TestArgParsing 2025-04-17 15:33:44 +02:00
close Remove StateReason feature detection for issue close 2026-03-04 13:31:30 -07:00
comment Add --delete-last option to pr comment and issue comment (#10596) 2025-05-01 14:12:55 +01:00
create fix(pr create): wire up @copilot assignee replacement and [bot] suffix 2026-03-24 23:26:28 -06:00
delete Issue delete early arg parsing 2025-04-17 15:27:39 +02:00
develop Simplify progress indicators in issue develop 2026-03-02 17:01:57 +05:30
edit refactor(featuredetection): rename ActorIsAssignable to ApiActorsSupported 2026-03-24 21:09:04 -06:00
list Remove StateReason feature detection for issue close 2026-03-04 13:31:30 -07:00
lock Issue lock early arg parsing 2025-04-17 15:27:39 +02:00
pin Issue pin early arg parsing 2025-04-17 15:27:39 +02:00
reopen Issue reopen early arg parsing 2025-04-17 15:27:39 +02:00
shared Remove StateReason feature detection for issue close 2026-03-04 13:31:30 -07:00
status Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
transfer Issue transfer early arg parsing 2025-04-17 15:27:39 +02:00
unpin Issue unpin early arg parsing 2025-04-17 15:27:39 +02:00
view Show friendly display names in gh issue view 2026-03-06 12:01:06 -07:00
issue.go Group PR, release, and repo subcommands 2022-12-21 14:47:59 +01:00