Skip to content

Commit 995c090

Browse files
committed
Issue template
1 parent ddc4ec9 commit 995c090

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed

.github/ISSUE_TEMPLATE/BugReport.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Bug Report
2+
description: 报告Bug.
3+
title: "[Bug] "
4+
labels: ["bug-report"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
## 注意
10+
每个Issue仅反馈一个问题
11+
标题尽可能包括关键信息
12+
- type: textarea
13+
id: what-happened
14+
attributes:
15+
label: 问题描述
16+
description: |
17+
在此描述问题:
18+
- 问题现象
19+
- 系统环境
20+
- 期待的结果
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: logs
25+
attributes:
26+
label: 日志
27+
description: 在此填入程序日志,如果有
28+
render: shell
29+
- type: checkboxes
30+
id: checking
31+
attributes:
32+
label: 在提交之前
33+
description: 你需要检查以下选项
34+
options:
35+
- label: 我确认这个Issue只提及了一个问题
36+
required: true
37+
- label: 我确认标题有意义,而不是如`Bug反馈`等类似的词
38+
required: true
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Feature Request
2+
description: 请求新功能.
3+
title: "[Feature] "
4+
labels: ["feature-request"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
## 注意
10+
每个Issue仅请求一个功能
11+
标题尽可能包括关键信息
12+
你需要确认这不是个伪需求
13+
- type: textarea
14+
id: requirements
15+
attributes:
16+
label: 功能需求
17+
description: |
18+
描述你的需求, 尽可能详细
19+
validations:
20+
required: true
21+
- type: checkboxes
22+
id: checking
23+
attributes:
24+
label: 在提交之前
25+
description: 你需要检查以下选项
26+
options:
27+
- label: 我确认这个Issue只提及了一个需求
28+
required: true
29+
- label: 我确认标题有意义,而不是如`功能请求`等类似的词
30+
required: true
31+
- label: 我确认这不是个伪需求
32+
required: true

.github/ISSUE_TEMPLATE/config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
blank_issues_enabled: true
2+

0 commit comments

Comments
 (0)