From 3fd91629e994d84998c6cd7f37e54cd3ff79fe48 Mon Sep 17 00:00:00 2001 From: cxfksword <718792+cxfksword@users.noreply.github.com> Date: Wed, 19 Nov 2025 11:38:07 +0800 Subject: [PATCH] ci: add issue template --- .github/ISSUE_TEMPLATE/00-bug_report.yml | 31 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/01-other_report.yml | 24 +++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/00-bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/01-other_report.yml diff --git a/.github/ISSUE_TEMPLATE/00-bug_report.yml b/.github/ISSUE_TEMPLATE/00-bug_report.yml new file mode 100644 index 0000000..347c48c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/00-bug_report.yml @@ -0,0 +1,31 @@ +name: "错误报告" +description: 错误报告 / 问题 +title: "[BUG] 请修改标题为您遇到的问题" +labels: [bug] +body: + - type: markdown + attributes: + value: | + 感谢您花时间填写此错误报告。 + 请**务必**确认您的问题无重复,且不是因为您的操作、网络或第三方软件问题。 + + - type: textarea + id: bug-description + attributes: + label: 问题描述(必填) + validations: + required: true + - type: textarea + id: logs + attributes: + label: 日志(必填) + description: | + 请复制粘贴错误日志,(可隐藏隐私字段) 日志访问路径:`打开菜单 -> 控制台 -> 日志` + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: 截图(可选) + description: | + 请提供相关问题截图。 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/01-other_report.yml b/.github/ISSUE_TEMPLATE/01-other_report.yml new file mode 100644 index 0000000..56a2f7a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01-other_report.yml @@ -0,0 +1,24 @@ +name: "其他问题报告" +description: 其他问题报告 / 问题 +title: "请修改标题为您遇到的问题" +body: + - type: textarea + id: bug-description + attributes: + label: 问题描述(必填) + validations: + required: true + - type: textarea + id: logs + attributes: + label: 日志(必填) + description: | + 请复制粘贴相关日志,(可隐藏隐私字段) 日志访问路径:`控制台 -> 日志` + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: 截图(可选) + description: | + 请提供相关问题截图。 \ No newline at end of file