vault/changelog/note-ce.tmpl
Vault Automation 3edbb13369
changelog: fix commit URL in CE generated template (#9010) (#9013)
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-08-28 17:20:47 -06:00

4 lines
281 B
Cheetah

{{- define "note" -}}
{{.Body}}{{if not (stringHasPrefix .Issue "_")}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/vault/pull/{{- .Issue -}})]{{else}}{{if .Hash }} ([{{- slice .Hash 0 8 -}}](https://github.com/hashicorp/vault/commit/{{- .Hash -}})){{end}}{{end}}
{{- end -}}