Link issue in note template (#8502)

Issue and PR numbers do not overlap, they are based of the same counter.
A PR can be also linked to via issues, if it is a PR, Github will
redirect to it.
This change has the benefit that one can link to both - issues and PRs.
This commit is contained in:
Hans Hasselberg 2020-08-13 10:22:56 +02:00 committed by hashicorp-ci
parent 5a93b93418
commit 7f08519888
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/pull/{{- .Issue -}})]
{{.Body}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/issues/{{- .Issue -}})]
{{- end -}}