From dffbc90404f371f76444a69221c2f7ad079e2319 Mon Sep 17 00:00:00 2001 From: paulfantom Date: Mon, 6 Jan 2020 22:48:52 +0100 Subject: [PATCH] log labels when assigning them to PR --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 8b3080f..552c40d 100644 --- a/main.go +++ b/main.go @@ -110,6 +110,7 @@ func main() { } expectedLabels := matchFiles(labelMatchers, files) if !containsLabels(expectedLabels, getCurrentLabels(pull)) { + glog.Infof("PR %s/%s#%d should have following labels: %v", owner, repo, *pull.Number, expectedLabels) client.Issues.AddLabelsToIssue(context.Background(), owner, repo, *pull.Number, expectedLabels) } }