Disable maintainer labels on PRs not changing Portfiles

This commit is contained in:
Zero King
2017-07-23 08:51:51 +00:00
parent 15d45cb3e7
commit d03b0e386e
+3 -1
View File
@@ -141,7 +141,9 @@ func (receiver *Receiver) handlePullRequest(body []byte) {
typeLabels = appendIfUnique(typeLabels, "type: update")
}
newLabels = append(newLabels, maintainerLabels...)
if len(ports) > 0 {
newLabels = append(newLabels, maintainerLabels...)
}
newLabels = append(newLabels, typeLabels...)
err = receiver.githubClient.ReplaceLabels(owner, repo, number, newLabels)