Add TODO requestReviewsByLoginCleanup on GHES ID-based reviewer path
Mark the GHES ID-resolution branch in AddMetadataToIssueParams for cleanup once GHES supports requestReviewsByLogin. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
07138b6edf
commit
49f1bd8800
1 changed files with 3 additions and 1 deletions
|
|
@ -130,8 +130,10 @@ func AddMetadataToIssueParams(client *api.Client, baseRepo ghrepo.Interface, par
|
|||
}
|
||||
}
|
||||
|
||||
// TODO requestReviewsByLoginCleanup
|
||||
// When ActorReviewers is true (github.com), pass logins directly for use with
|
||||
// RequestReviewsByLogin mutation. Otherwise, resolve to IDs for GHES compatibility.
|
||||
// RequestReviewsByLogin mutation. The ID-based else branch can be removed once
|
||||
// GHES supports requestReviewsByLogin.
|
||||
if tb.ActorReviewers {
|
||||
params["userReviewerLogins"] = userReviewers
|
||||
if len(botReviewers) > 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue