Log approvals list for debugging purposes

This commit is contained in:
Sebastian Cabrera 2023-08-29 09:28:00 -04:00
parent 2fafe57e5f
commit cf8a2da467

View file

@ -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{