Skip to content

Commit

Permalink
Break out of the for loop when if *pullRequest.Number < fullRepo.Mini…
Browse files Browse the repository at this point in the history
…mumNumber is true
pmaslana committed May 8, 2024
1 parent 7bfd1c4 commit fc6e017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/github/pullRequests.go
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ func FindCommunityPRs(repos []config.CheckRepo, teamMembers map[string]bool, git

for _, pullRequest := range pullRequests {
if *pullRequest.Number < fullRepo.MinimumNumber {
continue
break
}
if *pullRequest.Draft {
continue

0 comments on commit fc6e017

Please sign in to comment.