mirror of
https://github.com/macports/mpbot-github.git
synced 2026-07-13 03:18:39 -07:00
Recognize capital title
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user