note template with ent support (#8910)

This commit is contained in:
Hans Hasselberg 2020-10-09 21:06:49 +02:00 committed by hashicorp-ci
parent 4ff537b250
commit b1ef15166e
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
{{- define "note" -}}
{{.Body}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/issues/{{- .Issue -}})]
{{.Body}}{{if not stringHasPrefix .Issue "_"}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/issues/{{- .Issue -}})]{{end}}
{{- end -}}