From 187f3e19f371f321215e67505e0a92c95ebedd4b Mon Sep 17 00:00:00 2001 From: smallfawn <860562056@qq.com> Date: Mon, 10 Mar 2025 19:30:53 +0800 Subject: [PATCH] Create bug.yml --- .github/ISSUE_TEMPLATE/bug.yml | 53 ++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..5431024 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,53 @@ +name: 返回脚本BUG +description: 在使用 脚本 的过程中遇到了错误 +title: "[Bug]: " +labels: ["bug?"] + +body: + # User's README and agreement + - type: markdown + attributes: + value: | + ## 感谢您愿意填写错误回报! + ## 以下是一些注意事项,请务必阅读让我们能够更容易处理 + ### ❗ | 确定没有相同问题的ISSUE已被提出. + ### 🌎| 请准确填写环境信息 + ### ❔ | 提供出现问题完整日志内容。请自行删除日志内存在的个人信息及敏感内容。 + ## 如果您不知道如何有效、精准地表述,我们建议您先阅读《提问的智慧》 + 链接: [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md) + --- + - type: checkboxes + id: terms + attributes: + label: 请确保您已阅读以上注意事项,并勾选下方的确认框。 + options: + - label: 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(这些问题应当在 Discussion 板块提出。) + required: true + + # Input | Expected result + - type: textarea + id: expected + attributes: + label: 脚本名字 + validations: + required: true + + # Input | Actual result + - type: textarea + id: actual + attributes: + label: 实际的结果是什么? 期望的结果是什么? + validations: + required: true + # Optional | Logging + - type: textarea + id: logging + attributes: + label: 日志记录(可选) + render: javascript + + # Optional | Reproduce code + - type: textarea + id: reproduce-code + attributes: + label: 简单的复现代码/链接(可选)