From 658c4cad0bdc2d15fc3cf86e5914f669f697989d Mon Sep 17 00:00:00 2001 From: Hans Hasselberg Date: Thu, 13 Aug 2020 10:22:56 +0200 Subject: [PATCH] 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. --- .changelog/note.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changelog/note.tmpl b/.changelog/note.tmpl index b9427f43f..8f306f82d 100644 --- a/.changelog/note.tmpl +++ b/.changelog/note.tmpl @@ -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 -}}