ci: combine 'enhancement' entry type with 'improvement' (#12376)

This commit is contained in:
Evan Culver 2022-02-17 19:21:47 -08:00 committed by GitHub
parent 2d5254a73b
commit bdb120f79d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

3
.changelog/12376.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:enhancement
ci: include 'enhancement' entry type in IMPROVEMENTS section of changelog.
```

View File

@ -22,10 +22,11 @@ FEATURES:
{{ end -}} {{ end -}}
{{- end -}} {{- end -}}
{{- if .NotesByType.improvement }} {{- $improvements := combineTypes .NotesByType.improvement .NotesByType.enhancement -}}
{{- if $improvements }}
IMPROVEMENTS: IMPROVEMENTS:
{{range .NotesByType.improvement -}} {{range $improvements | sort -}}
* {{ template "note" . }} * {{ template "note" . }}
{{ end -}} {{ end -}}
{{- end -}} {{- end -}}