Recognize capital title

This commit is contained in:
Zero King
2017-07-23 08:42:00 +00:00
parent 14aece03f1
commit 15d45cb3e7
+1 -1
View File
@@ -137,7 +137,7 @@ func (receiver *Receiver) handlePullRequest(body []byte) {
if isSubmission {
typeLabels = appendIfUnique(typeLabels, "type: submission")
}
if strings.Contains(*event.PullRequest.Title, ": update to") {
if strings.Contains(strings.ToLower(*event.PullRequest.Title), ": update to") {
typeLabels = appendIfUnique(typeLabels, "type: update")
}