Skip to content

Commit ea2aec8

Browse files
author
Ivan Palladino
committed
gopherbot: relaxed matching rule for the documentation label
Documentation word is more specific than document to match issues related to Documentation. Fixes golang/go#31153
1 parent a3d123a commit ea2aec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gopherbot/gopherbot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,7 @@ func isDocumentationTitle(t string) bool {
19881988
if strings.Contains(t, "godoc:") { // in x/tools, or the dozen places people file it as
19891989
return false
19901990
}
1991-
return strings.Contains(t, "document") ||
1991+
return strings.Contains(t, "documentation") ||
19921992
strings.Contains(t, "docs ")
19931993
}
19941994

0 commit comments

Comments
 (0)