Skip to content

Commit 5e0e252

Browse files
weinongCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4cf001b commit 5e0e252

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/changelog-generator/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ func categorizeByLabelsAndTitle(pr GitHubPR) string {
296296
strings.Contains(title, "cve-") ||
297297
strings.Contains(title, "fix cve") ||
298298
strings.Contains(title, "dependencies") ||
299-
strings.HasPrefix(title, "chore") {
299+
strings.HasPrefix(title, "chore:") ||
300+
strings.HasPrefix(title, "chore ") {
300301
return "maintenance"
301302
}
302303

0 commit comments

Comments
 (0)