Revert last commit as it broke it even more

This commit is contained in:
Sebastian Cabrera 2023-08-28 18:55:49 -04:00
parent b44f52fe4c
commit 22d79a0547

View file

@ -115,8 +115,6 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) {
for _, comment := range comments { for _, comment := range comments {
if strings.Contains(comment.GetBody(), "+1") { if strings.Contains(comment.GetBody(), "+1") {
reactionCount++ reactionCount++
}
}
if reactionCount >= reactionCountGoal { if reactionCount >= reactionCountGoal {
// Merge the pull request // Merge the pull request
@ -148,6 +146,8 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) {
} }
} }
} }
}
}
} }
func processPullRequestEvent(event *github.PullRequestEvent) { func processPullRequestEvent(event *github.PullRequestEvent) {