Add TODO requestReviewsByLoginCleanup on static reviewer MultiSelect

Mark the legacy static MultiSelect reviewer path for cleanup once
GHES supports requestReviewsByLogin and search-based selection can
be used universally.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Kynan Ware 2026-03-05 10:57:45 -07:00
parent dd7e44ee0a
commit 37776cf2e6

View file

@ -271,6 +271,9 @@ func MetadataSurvey(p Prompt, io *iostreams.IOStreams, baseRepo ghrepo.Interface
}
values.Reviewers = selectedReviewers
} else if len(reviewers) > 0 {
// TODO requestReviewsByLoginCleanup
// The static MultiSelect path can be removed once GHES supports
// requestReviewsByLogin and search-based selection is always used.
selected, err := p.MultiSelect("Reviewers", state.Reviewers, reviewers)
if err != nil {
return err