diff --git a/github/util_v4_branch_protection.go b/github/util_v4_branch_protection.go index 79aff4d823..d3ca38de54 100644 --- a/github/util_v4_branch_protection.go +++ b/github/util_v4_branch_protection.go @@ -411,6 +411,7 @@ func setBypassPullRequestActorIDs(actors []BypassPullRequestActorTypes, data Bra } if a.Actor.User.Login != "" { bypassActors = append(bypassActors, "/"+string(a.Actor.User.Login)) + continue } if a.Actor.App != (Actor{}) { bypassActors = append(bypassActors, a.Actor.App.ID.(string))