mirror of https://github.com/hashicorp/consul
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.pull/8507/head
parent
7e5253bf04
commit
b86c018a19
@ -1,3 +1,3 @@
|
|||||||
{{- define "note" -}}
|
{{- define "note" -}}
|
||||||
{{.Body}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/pull/{{- .Issue -}})]
|
{{.Body}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/issues/{{- .Issue -}})]
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
Reference in new issue