Skip to content

Commit 5544fe8

Browse files
committed
update docs
1 parent 53df2a8 commit 5544fe8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎docs/content/usage/issue-pull-request-templates.en-us.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ name: "Template Name"
108108
about: "This template is for testing!"
109109
title: "[TEST] "
110110
ref: "main"
111+
assignees: ["user1"]
111112
labels:
112113

113114
- bug
@@ -120,7 +121,9 @@ This is the template!
120121

121122
In the above example, when a user is presented with the list of issues they can submit, this would show as `Template Name` with the description
122123
`This template is for testing!`. When submitting an issue with the above example, the issue title would be pre-populated with
123-
`[TEST] ` while the issue body would be pre-populated with `This is the template!`. The issue would also be assigned two labels,
124+
`[TEST] ` while the issue body would be pre-populated with `This is the template!`.
125+
The issue would be assigned to `user1`.
126+
The issue would also be assigned two labels,
124127
`bug` and `help needed`, and the issue will have a reference to `main`.
125128

126129
## Syntax for yaml template

‎docs/content/usage/issue-pull-request-templates.zh-cn.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ name: "Template Name"
113113
about: "This template is for testing!"
114114
title: "[TEST] "
115115
ref: "main"
116+
assignees: ["user1"]
116117
labels:
117118

118119
- bug
@@ -123,7 +124,7 @@ labels:
123124
This is the template!
124125
```
125126

126-
上面的示例表示用户从列表中选择一个工单模板时,列表会展示模板名称 `Template Name` 和模板描述 `This template is for testing!`。 同时,标题会预先填充为 `[TEST]`,而正文将预先填充 `This is the template!`。 最后,Issue 还会被分配两个标签,`bug``help needed`,并且将问题指向 `main` 分支。
127+
上面的示例表示用户从列表中选择一个工单模板时,列表会展示模板名称 `Template Name` 和模板描述 `This template is for testing!`。 同时,标题会预先填充为 `[TEST]`,而正文将预先填充 `This is the template!`该 Issue 会被指派给 `user1` 最后,Issue 还会被分配两个标签,`bug``help needed`,并且将问题指向 `main` 分支。
127128

128129
## YAML 模板语法
129130

0 commit comments

Comments
 (0)