Skip to content

Commit ed2b07b

Browse files
committed
chore(ci): filter out bot commits from CHANGELOG
1 parent a7a6380 commit ed2b07b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.chglog/CHANGELOG.tpl.md

+4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
## {{ .Title }}
1111

1212
{{ range .Commits -}}
13+
{{ if and (not (hasPrefix .Subject "changelog rebuild")) (not (hasPrefix .Subject "layer docs update")) (not (hasPrefix .Subject "bump version to")) -}}
1314
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
15+
{{ end -}}
1416
{{ end }}
1517
{{ end -}}
1618
{{ end -}}
@@ -24,7 +26,9 @@
2426
## {{ .Title }}
2527

2628
{{ range .Commits -}}
29+
{{ if and (not (hasPrefix .Subject "changelog rebuild")) (not (hasPrefix .Subject "layer docs update")) (not (hasPrefix .Subject "bump version to")) -}}
2730
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
31+
{{ end -}}
2832
{{ end }}
2933
{{ end -}}
3034

0 commit comments

Comments
 (0)