📃 docs(github): 添加 issue template

Signed-off-by: BTMuli <BT-Muli@outlook.com>
(cherry picked from commit 73277bc832db6665e5f872f5f07e748e2c9466b9)
This commit is contained in:
BTMuli
2023-04-06 00:46:18 +08:00
parent 21992e53c8
commit 3b28f57278
3 changed files with 180 additions and 0 deletions

69
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View File

@@ -0,0 +1,69 @@
name: 非预期错误和漏洞
description: 提交非预期错误和漏洞
# title: "[Bug] "
labels:
- bug
- question
assignees:
- BTMuli
body:
- type: markdown
attributes:
value: |
在此填写非预期错误和漏洞的详细信息,包括但不限于:
- 你所遇到的问题
- 当前使用版本
- 复现流程
- type: checkboxes
attributes:
label: 请确认
description: 我确认没有查找过相关的 Issue
options:
- label: 我确认没有查找过相关的 Issue
required: false
- type: checkboxes
attributes:
label: 请确认
description: 我确认这个问题是无用且不必要的
options:
- label: 我确认这个问题是无用且不必要的
required: false
- type: checkboxes
attributes:
label: 请确认
description: 我没有阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
options:
- label: 我没有阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
required: false
- type: textarea
id: description
attributes:
label: 问题描述
description: 请详细描述你所遇到的问题
placeholder: 请详细描述你所遇到的问题
validations:
required: true
- type: input
id: version
attributes:
label: 当前使用版本
description: 请填写当前使用版本
placeholder: 如 Alpha v0.2.0
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: 复现流程
description: 请详细描述复现流程
placeholder: 若无法复现,请填写无法复现
validations:
required: true
- type: textarea
id: additional
attributes:
label: 其他信息
description: 请填写其他信息
placeholder: 请填写其他信息
validations:
required: true

61
.github/ISSUE_TEMPLATE/enhancement.yml vendored Normal file
View File

@@ -0,0 +1,61 @@
name: 新功能
description: 提交新功能请求
# title: "[Feat] "
labels:
- enhancement
- question
assignees:
- BTMuli
body:
- type: markdown
attributes:
value: |
在此填写新功能的详细信息,包括但不限于:
- 新功能名称
- 新功能描述
- 当前使用版本
- type: checkboxes
attributes:
label: 请确认
description: 我确认没有查找过相关的 Issue
options:
- label: 我确认没有查找过相关的 Issue
required: false
- type: checkboxes
attributes:
label: 请确认
description: 我确认这个功能是无用且不必要的
options:
- label: 我确认这个功能是无用且不必要的
required: false
- type: checkboxes
attributes:
label: 请确认
description: 我没有阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
options:
- label: 我没有阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
required: false
- type: textarea
id: description
attributes:
label: 新功能描述
description: 请详细描述新功能的内容
placeholder: 请详细描述新功能的内容
validations:
required: true
- type: input
id: version
attributes:
label: 当前使用版本
description: 请填写当前使用版本
placeholder: 如 Alpha v0.2.0
validations:
required: true
- type: textarea
id: additional
attributes:
label: 其他信息
description: 请填写其他信息
placeholder: 请填写其他信息
validations:
required: false

50
.github/ISSUE_TEMPLATE/todo.yml vendored Normal file
View File

@@ -0,0 +1,50 @@
name: 开发目标(开发人员)
description: 用于开发人员 Issue 的模板
# title: "[TODO] "
labels:
- todo
- enhancement
- help wanted
assignees:
- BTMuli
body:
- type: markdown
attributes:
value: |
在此填写开发目标的详细信息,包括但不限于:
- 任务名称
- 任务描述
- 预期版本
- 当前提交
- type: textarea
id: description
attributes:
label: 任务描述
description: 请详细描述任务的内容
placeholder: 请详细描述任务的内容
validations:
required: true
- type: input
id: version
attributes:
label: 预期版本
description: 请填写预期版本
placeholder: 如 Alpha v0.2.0
validations:
required: true
- type: input
id: commit
attributes:
label: 当前提交
description: 请填写当前提交
placeholder: 如 0.2.0
validations:
required: true
- type: textarea
id: additional
attributes:
label: 其他信息
description: 请填写其他信息
placeholder: 请填写其他信息
validations:
required: false