From a9a0486c7082c5898e2bd79a860e6b17d57f4d95 Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Fri, 30 Jan 2026 11:33:22 -0700 Subject: [PATCH] Clarify comment on reviewer API behavior Update comment in FetchOptions to specify that the APIs used for both GHES and GitHub.com accept user logins and team slugs directly, clarifying why non-interactive flows with Add/Remove don't need to fetch reviewers/teams. Comment-only change; no functional modifications. --- pkg/cmd/pr/shared/editable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/pr/shared/editable.go b/pkg/cmd/pr/shared/editable.go index 9c6629f5e..31b253d9b 100644 --- a/pkg/cmd/pr/shared/editable.go +++ b/pkg/cmd/pr/shared/editable.go @@ -459,7 +459,7 @@ func FetchOptions(client *api.Client, repo ghrepo.Interface, editable *Editable, fetchReviewers = true } // Note: Non-interactive flows (with Add/Remove) don't need to fetch reviewers/teams - // because the REST API accepts logins and team slugs directly. + // because the APIs in use for both GHES and GitHub.com accept user logins and team slugs directly. } fetchAssignees := false