Log approvals list for debugging purposes
This commit is contained in:
parent
2fafe57e5f
commit
cf8a2da467
1 changed files with 3 additions and 1 deletions
|
@ -106,7 +106,7 @@ func processIssuesEvent(event *github.IssuesEvent) {
|
||||||
issueNumber := event.GetIssue().GetNumber()
|
issueNumber := event.GetIssue().GetNumber()
|
||||||
|
|
||||||
if event.GetAction() == "opened" {
|
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
|
// Respond with a comment
|
||||||
comment := &github.IssueComment{
|
comment := &github.IssueComment{
|
||||||
|
@ -160,6 +160,8 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Println(approvals)
|
||||||
|
|
||||||
if reactionCount >= reactionCountGoal {
|
if reactionCount >= reactionCountGoal {
|
||||||
// Merge the pull request
|
// Merge the pull request
|
||||||
merge := &github.PullRequestOptions{
|
merge := &github.PullRequestOptions{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue