diff --git a/bot/utils.go b/bot/utils.go index 06a52a5..4135188 100644 --- a/bot/utils.go +++ b/bot/utils.go @@ -90,7 +90,7 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) { repo := event.GetRepo().GetName() prNumber := event.GetIssue().GetNumber() reactionCount := 0 - reactionCountGoal := 2 + reactionCountGoal := 5 if event.GetIssue().IsPullRequest() { comments, _, err := client.Issues.ListComments(ctx, owner, repo, prNumber, nil) @@ -102,7 +102,6 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) { // Check if there are thumbs up (:+1:) reactions for _, comment := range comments { if strings.Contains(comment.GetBody(), "+1") && !strings.Contains(comment.GetUser().GetLogin(), "bot") { - fmt.Println(comment.GetUser().GetLogin()) reactionCount++ } }