Skip to content

Commit 01c397f

Browse files
authored
feat: support new-action entry types (#45)
1 parent 0f5cf9b commit 01c397f

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

cmd/changelog-build/changelog.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ BREAKING CHANGES:
1919
{{ end -}}
2020
{{- end -}}
2121

22-
{{- $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" ) -}}
22+
{{- $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" ) -}}
2323
{{- if $features }}
2424
FEATURES:
2525
{{range $features | sort -}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{{- define "note" -}}
2-
{{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 -}}])
2+
{{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 -}}])
33
{{- end -}}

cmd/changelog-entry/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The type parameter can be one of the following:
1212
* new-datasource
1313
* new-ephemeral
1414
* new-function
15+
* new-action
1516
* deprecation
1617
* breaking-change
1718
* feature

cmd/changelog-pr-body-check/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ following types of entries:
1616
* new-datasource
1717
* new-ephemeral
1818
* new-function
19+
* new-action
1920
* deprecation
2021
* breaking-change
2122
* feature

entry.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ var TypeValues = []string{
2929
"new-datasource",
3030
"new-ephemeral",
3131
"new-function",
32+
"new-action",
3233
"deprecation",
3334
"breaking-change",
3435
}

0 commit comments

Comments
 (0)