From bd9ca3318d4c98c0b42187c792ec4fb048771fb9 Mon Sep 17 00:00:00 2001 From: okseby Date: Tue, 29 Aug 2023 21:54:11 -0400 Subject: [PATCH] Re-add debug logging as I'm dumb and want to make sure this is working --- bot/utils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot/utils.go b/bot/utils.go index 0bec815..1aed846 100644 --- a/bot/utils.go +++ b/bot/utils.go @@ -163,6 +163,7 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) { return } + log.Println(approvals) } } @@ -223,5 +224,7 @@ func processPullRequestEvent(event *github.PullRequestEvent) { } } else if event.GetAction() == "merged" { delete(approvals, prNumber) + log.Println(approvals) + log.Println("Pull request #", prNumber, "removed from approval list due to merge!") } }