From 40f9bc817feb5c08b46e194b79d9180c58a67862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E5=88=9D?= Date: Thu, 3 Oct 2024 10:31:47 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(ISSUE=5FTEMPLATE):=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=97=AE=E9=A2=98=E6=8A=A5=E5=91=8A=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=20(#630)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ✨ feat(ISSUE_TEMPLATE): 修改问题报告模板 ✨ feat(ISSUE_TEMPLATE): 修改问题报告模板 * :lipstick: auto fix by pre-commit hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/issue.yml | 61 ++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/问题报告.md | 31 --------------- 2 files changed, 61 insertions(+), 31 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/issue.yml delete mode 100644 .github/ISSUE_TEMPLATE/问题报告.md diff --git a/.github/ISSUE_TEMPLATE/issue.yml b/.github/ISSUE_TEMPLATE/issue.yml new file mode 100644 index 0000000..117926f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue.yml @@ -0,0 +1,61 @@ +name: 问题报告 +description: 我遇到了问题 + +body: + - type: markdown + id: environment + attributes: + value: | + ## 环境 + + - type: input + id: nonebot_bison_version + attributes: + label: nonebot-bison 版本 + description: 请填写 nonebot-bison 的版本 + + - type: input + id: nonebot_version + attributes: + label: nonebot 版本 + description: 请填写 nonebot 的版本 + + - type: dropdown + id: installation_method + attributes: + label: 安装方式 + description: 请选择安装方式 + options: + - 通过 nb-cli 安装 + - 使用 poetry/pdm 等现代包管理器安装 + - 通过 pip install 安装 + - 克隆或下载项目直接使用 + + - type: input + id: operating_system + attributes: + label: 操作系统 + description: 请填写操作系统 + + - type: textarea + id: issue_description + attributes: + label: 问题 + description: 请在这里描述你遇到的问题 + + - type: textarea + id: logs + attributes: + label: 日志 + description: 请在这里粘贴你的日志 + render: shell + + - type: checkboxes + id: confirmations + attributes: + label: 确认 + options: + - label: 我搜索过了 issue,但是并没有发现过与我类似的问题 + required: true + - label: 我确认在日志中去掉了敏感信息 + required: true diff --git a/.github/ISSUE_TEMPLATE/问题报告.md b/.github/ISSUE_TEMPLATE/问题报告.md deleted file mode 100644 index 6112f9f..0000000 --- a/.github/ISSUE_TEMPLATE/问题报告.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: 问题报告 -about: 我遇到了问题 -title: "" -labels: "" -assignees: "" ---- - -## 环境 - -- nonebot-bison 版本: -- nonebot 版本: -- 安装方式:(以下方式的一种或者其他方式) - 1. 通过 nb-cli 安装 - 2. 使用 poetry/pdm 等现代包管理器安装 - 3. 通过 pip install 安装 - 4. 克隆或下载项目直接使用 -- 操作系统: - -## 问题 - -请在这里描述你遇到的问题 - -## 日志 - -``` -请在这里粘贴你的日志 -``` - -- [ ] 我搜索过了 issue,但是并没有发现过与我类似的问题 -- [ ] 我确认在日志中去掉了敏感信息