Skip to content

Commit be7cfe8

Browse files
bpaquetkfcampbell
andauthored
Fix #1555: Avoid duplication of pull reqyuest bypasser (#1711)
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
1 parent eb1b7d9 commit be7cfe8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

github/util_v4_branch_protection.go

+1
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ func setBypassPullRequestActorIDs(actors []BypassPullRequestActorTypes, data Bra
411411
}
412412
if a.Actor.User.Login != "" {
413413
bypassActors = append(bypassActors, "/"+string(a.Actor.User.Login))
414+
continue
414415
}
415416
if a.Actor.App != (Actor{}) {
416417
bypassActors = append(bypassActors, a.Actor.App.ID.(string))

0 commit comments

Comments
 (0)