changelog: add hash link to changes that originate from enterprise (#8745) (#8775)

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
Vault Automation 2025-08-20 17:03:19 -06:00 committed by GitHub
parent ffa18b3388
commit c2c89dff84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,3 @@
{{- define "note" -}}
{{.Body}}{{if not (stringHasPrefix .Issue "_")}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/vault/pull/{{- .Issue -}})]{{end}}
{{.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/commits/{{- .Hash -}})){{end}}{{end}}
{{- end -}}