From 4cbc865d835eb49722d22f8ac5019ccc17582a16 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Fri, 17 Dec 2021 22:29:09 +0100 Subject: Add option to define refs in issue templates (#17842) Adds a markdown header option `ref` that allows you to set the ref the issue should belong. --- modules/structs/issue.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/structs') diff --git a/modules/structs/issue.go b/modules/structs/issue.go index a4a5baa90f..c72487fe4d 100644 --- a/modules/structs/issue.go +++ b/modules/structs/issue.go @@ -127,6 +127,7 @@ type IssueTemplate struct { Title string `json:"title" yaml:"title"` About string `json:"about" yaml:"about"` Labels []string `json:"labels" yaml:"labels"` + Ref string `json:"ref" yaml:"ref"` Content string `json:"content" yaml:"-"` FileName string `json:"file_name" yaml:"-"` } -- cgit v1.2.3