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 85ecbaf109
commit 8a301fb915
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 -}}
{{- if .NotesByType.improvement }}
{{- $improvements := combineTypes .NotesByType.improvement .NotesByType.enhancement -}}
{{- if $improvements }}
IMPROVEMENTS:
{{range .NotesByType.improvement -}}
{{range $improvements | sort -}}
* {{ template "note" . }}
{{ end -}}
{{- end -}}