Skip to content

Commit 8929855

Browse files
authored
Merge pull request #44352 from hashicorp/td-action-changelog
.ci/scripts: support for `new-action` entry types
2 parents 12a0836 + 47fdfbb commit 8929855

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.ci/scripts/changelog.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ NOTES:
1515
{{ end -}}
1616
{{- end -}}
1717

18-
{{- $features := combineTypes .NotesByType.feature (index .NotesByType "new-resource" ) (index .NotesByType "new-data-source") (index .NotesByType "new-ephemeral") (index .NotesByType "new-function") (index .NotesByType "new-guide") }}
18+
{{- $features := combineTypes .NotesByType.feature (index .NotesByType "new-resource" ) (index .NotesByType "new-data-source") (index .NotesByType "new-ephemeral") (index .NotesByType "new-function") (index .NotesByType "new-action") (index .NotesByType "new-guide") }}
1919
{{- if $features }}
2020
FEATURES:
2121

.ci/scripts/release-note.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* **New Ephemeral Resource:** `{{.Body}}` ([#{{- .Issue -}}](https://github.com/hashicorp/terraform-provider-aws/issues/{{- .Issue -}}))
88
{{- else if eq "new-function" .Type -}}
99
* **New Function:** `{{.Body}}` ([#{{- .Issue -}}](https://github.com/hashicorp/terraform-provider-aws/issues/{{- .Issue -}}))
10+
{{- else if eq "new-action" .Type -}}
11+
* **New Action:** `{{.Body}}` ([#{{- .Issue -}}](https://github.com/hashicorp/terraform-provider-aws/issues/{{- .Issue -}}))
1012
{{- else if eq "new-guide" .Type -}}
1113
* **New Guide:** `{{.Body}}` ([#{{- .Issue -}}](https://github.com/hashicorp/terraform-provider-aws/issues/{{- .Issue -}}))
1214
{{- else -}}

infrastructure/repository/labels-workflow.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ variable "workflow_labels" {
109109
color = "dc477d", # color:consul
110110
description = "Waiting for first response or review from a maintainer."
111111
},
112+
"new-action" = {
113+
color = "ac72f0", # color:terraform (link on black)
114+
description = "Introduces a new action."
115+
},
112116
"new-data-source" = {
113117
color = "ac72f0", # color:terraform (link on black)
114118
description = "Introduces a new data source."

0 commit comments

Comments
 (0)