Update bug_report.yml

This commit is contained in:
Bruce Wayne
2021-04-01 20:00:39 +08:00
parent c0b1ae193b
commit 8a6970cc26
3 changed files with 60 additions and 0 deletions

55
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,55 @@
name: Bug report
description: "Create a report to help us improve"
title: ""
labels: 需要核实
issue_body: true
body:
- type: markdown
attributes:
value: Make sure you have read the readme, searched and read the issues related to yours. Otherwise it will be considered as a duplicate which will be closed immediately.
- type: textarea
id: error
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: To Reproduce
placeholder: |
Steps to reproduce the behavior:
1. Open Netch
2. ...
validations:
required: true
- type: checkboxes
id: captcha
attributes:
label: CAPTCHA
description: Please confirm the options below.
options:
- label: I am human
required: true
- type: textarea
id: log
attributes:
render: shell
label: Log
description: Attaching any log files in the folder `Netch\logging` is strongly recommended.
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
placeholder: |
- OS: [e.g. Windows 10 Pro 64-bit 1903]
- Netch Version: [e.g. 1.0.0-STABLE.x64]
validations:
required: true
- type: markdown
attributes:
value: |
In the text box below, you can attach any relevant screenshots and files.

View File

@@ -8,12 +8,14 @@ body:
attributes:
value: 确保你已经看过 readme也搜索并阅读过和你遇到的情况相关的问题。否则会被认为是重复的并被立刻关闭。
- type: textarea
id: error
attributes:
label: "错误描述"
description: 对错误的清晰简洁描述
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: "复现步骤"
placeholder: |
@@ -22,6 +24,7 @@ body:
validations:
required: true
- type: checkboxes
id: captcha
attributes:
label: 验证
description: 请确认下面选项
@@ -29,6 +32,7 @@ body:
- label: 我是人类
required: true
- type: textarea
id: log
attributes:
render: shell
label: 日志
@@ -36,6 +40,7 @@ body:
validations:
required: true
- type: textarea
id: environment
attributes:
label: 操作环境
placeholder: |