diff --git a/cmd/changelog-build/changelog.tmpl b/cmd/changelog-build/changelog.tmpl index 13861b9..3b0232e 100644 --- a/cmd/changelog-build/changelog.tmpl +++ b/cmd/changelog-build/changelog.tmpl @@ -19,7 +19,7 @@ BREAKING CHANGES: {{ end -}} {{- end -}} -{{- $features := combineTypes .NotesByType.feature (index .NotesByType "new-resource" ) (index .NotesByType "new-datasource") (index .NotesByType "new-data-source") (index .NotesByType "new-function" ) (index .NotesByType "new-ephemeral" ) -}} +{{- $features := combineTypes .NotesByType.feature (index .NotesByType "new-resource" ) (index .NotesByType "new-datasource") (index .NotesByType "new-data-source") (index .NotesByType "new-function" ) (index .NotesByType "new-ephemeral" ) (index .NotesByType "new-action" ) -}} {{- if $features }} FEATURES: {{range $features | sort -}} diff --git a/cmd/changelog-build/release-note.tmpl b/cmd/changelog-build/release-note.tmpl index e3df22a..183a8d8 100644 --- a/cmd/changelog-build/release-note.tmpl +++ b/cmd/changelog-build/release-note.tmpl @@ -1,3 +1,3 @@ {{- define "note" -}} -{{if eq "new-resource" .Type}}**New Resource:** {{else if eq "new-datasource" .Type}}**New Data Source:** {{else if eq "new-function" .Type}}**New Function:** {{else if eq "new-ephemeral" .Type}}**New Ephemeral Resource:** {{ end }}{{.Body}} ([GH-{{- .Issue -}}]) +{{if eq "new-resource" .Type}}**New Resource:** {{else if eq "new-datasource" .Type}}**New Data Source:** {{else if eq "new-function" .Type}}**New Function:** {{else if eq "new-ephemeral" .Type}}**New Ephemeral Resource:** {{else if eq "new-action" .Type}}**New Action:** {{ end }}{{.Body}} ([GH-{{- .Issue -}}]) {{- end -}} diff --git a/cmd/changelog-entry/README.md b/cmd/changelog-entry/README.md index 5f6b17d..07ddd5b 100644 --- a/cmd/changelog-entry/README.md +++ b/cmd/changelog-entry/README.md @@ -12,6 +12,7 @@ The type parameter can be one of the following: * new-datasource * new-ephemeral * new-function +* new-action * deprecation * breaking-change * feature diff --git a/cmd/changelog-pr-body-check/README.md b/cmd/changelog-pr-body-check/README.md index bc9afe8..e7e38b3 100644 --- a/cmd/changelog-pr-body-check/README.md +++ b/cmd/changelog-pr-body-check/README.md @@ -16,6 +16,7 @@ following types of entries: * new-datasource * new-ephemeral * new-function +* new-action * deprecation * breaking-change * feature diff --git a/entry.go b/entry.go index d1842ae..bd25618 100644 --- a/entry.go +++ b/entry.go @@ -29,6 +29,7 @@ var TypeValues = []string{ "new-datasource", "new-ephemeral", "new-function", + "new-action", "deprecation", "breaking-change", }