Merge branch 'kw/gh-cli-909-911-assign-actors-to-prs' into kw/gh-cli-916-special-actor-assignee-names

This commit is contained in:
Kynan Ware 2025-05-15 11:27:14 -06:00 committed by GitHub
commit 51b1e6cd6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 539 additions and 43 deletions

View file

@ -701,7 +701,7 @@ func (m *RepoMetadataResult) MembersToIDs(names []string) ([]string, error) {
for _, assigneeLogin := range names {
found := false
for _, u := range m.AssignableUsers {
if strings.EqualFold(assigneeLogin, (u.Login())) {
if strings.EqualFold(assigneeLogin, u.Login()) {
ids = append(ids, u.ID())
found = true
break