From cf8a2da467e299d5b063e0cd979a9b6cbfcada67 Mon Sep 17 00:00:00 2001 From: okseby Date: Tue, 29 Aug 2023 09:28:00 -0400 Subject: [PATCH] Log approvals list for debugging purposes --- bot/utils.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot/utils.go b/bot/utils.go index 9e98ebf..1438141 100644 --- a/bot/utils.go +++ b/bot/utils.go @@ -106,7 +106,7 @@ func processIssuesEvent(event *github.IssuesEvent) { issueNumber := event.GetIssue().GetNumber() if event.GetAction() == "opened" { - commentText := "Thanks for opening this issue!" + commentText := "Thanks for opening this issue! Someone will be responding soon! :smile:" // Respond with a comment comment := &github.IssueComment{ @@ -160,6 +160,8 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) { } } + log.Println(approvals) + if reactionCount >= reactionCountGoal { // Merge the pull request merge := &github.PullRequestOptions{