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 {
if strings.Contains(comment.GetBody(), "+1") {
reactionCount++
}
}
if reactionCount >= reactionCountGoal {
// Merge the pull request
@ -149,6 +147,8 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) {
}
}
}
}
}
func processPullRequestEvent(event *github.PullRequestEvent) {
if event.GetAction() == "opened" || event.GetAction() == "reopened" {