Merge pull request #42 from rowbawts/test
Re-add debug logging as I'm dumb and want to make sure this is working
This commit is contained in:
commit
417a2fd17e
1 changed files with 3 additions and 0 deletions
|
@ -163,6 +163,7 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) {
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log.Println(approvals)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -223,5 +224,7 @@ func processPullRequestEvent(event *github.PullRequestEvent) {
|
||||||
}
|
}
|
||||||
} else if event.GetAction() == "merged" {
|
} else if event.GetAction() == "merged" {
|
||||||
delete(approvals, prNumber)
|
delete(approvals, prNumber)
|
||||||
|
log.Println(approvals)
|
||||||
|
log.Println("Pull request #", prNumber, "removed from approval list due to merge!")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue