build: add issue templates
This commit is contained in:
1 parent
173cd945b4
commit
8691fea12d
2 files changed
+101
No files matched your search
@@ -0,0 +1,59 @@
|
||||
name: "Bug 报告 (Bug Report)"
|
||||
description: "提交系统运行中出现的异常、错误或崩溃"
|
||||
title: "[Bug]: "
|
||||
labels:
|
||||
- "kind/bug"
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
感谢提交 Bug!为了快速定位问题,请尽可能详细填写以下信息。
|
||||
|
||||
- type: input
|
||||
id: environment
|
||||
attributes:
|
||||
label: "运行环境 / 版本"
|
||||
description: "例如:系统版本 (Linux/macOS/Windows)、软件版本、Docker 镜像 tag 或 Commit ID"
|
||||
placeholder: "e.g., Linux 6.6 / v1.2.0 / Docker"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: reproduction_steps
|
||||
attributes:
|
||||
label: "复现步骤"
|
||||
description: "清晰列出触发该问题的最小复现步骤"
|
||||
placeholder: |
|
||||
1. 执行命令 `...` 或访问页面 `...`
|
||||
2. 点击或配置 `...`
|
||||
3. 触发异常
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: expected_vs_actual
|
||||
attributes:
|
||||
label: "期望行为 vs 实际行为"
|
||||
description: "描述你期望得到的结果,以及实际发生了什么"
|
||||
placeholder: |
|
||||
- 期望结果:
|
||||
- 实际结果:
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: "日志与错误堆栈 (Logs / Trace)"
|
||||
description: "附上相关终端输出、后端日志或浏览器 Console 报错"
|
||||
render: shell
|
||||
|
||||
- type: checkboxes
|
||||
id: checklist
|
||||
attributes:
|
||||
label: "确认清单"
|
||||
options:
|
||||
- label: "我已在现有 Issue / Commit 记录中搜索过,确认没有重复报告"
|
||||
required: true
|
||||
- label: "该问题在最新版本/主分支上依然可以复现"
|
||||
required: false
|
||||
Reference in new issue
Block a user