Skip to content

Commit

Permalink
gopherbot: relaxed matching rule for the documentation label
Browse files Browse the repository at this point in the history
Documentation word is more specific than document to match issues related to Documentation.

Fixes golang/go#31153
  • Loading branch information
Ivan Palladino committed Jun 14, 2019
1 parent a3d123a commit ea2aec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gopherbot/gopherbot.go
Original file line number Diff line number Diff line change
Expand Up @@ -1988,7 +1988,7 @@ func isDocumentationTitle(t string) bool {
if strings.Contains(t, "godoc:") { // in x/tools, or the dozen places people file it as
return false
}
return strings.Contains(t, "document") ||
return strings.Contains(t, "documentation") ||
strings.Contains(t, "docs ")
}

Expand Down

0 comments on commit ea2aec8

Please sign in to comment.