From 2ff653cc6f0e8d57196dfd1e30dd4c9f41a02f43 Mon Sep 17 00:00:00 2001 From: m1m1sha <18262227804@163.com> Date: Sun, 15 Sep 2024 22:28:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci:=20github=20issue=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.yml | 51 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yml | 38 ++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..c4c8e25 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,51 @@ +# Copyright 2024-present Easytier Programme within The Commons Conservancy +# SPDX-License-Identifier: Apache-2.0 + +name: 🐞 问题报告 / Bug Report +title: '[bug] ' +description: 报告一个问题 / Report a bug +labels: ['type: bug', 'status: needs triage'] + +body: + - type: markdown + attributes: + value: | + ## 在提交问题之前之前 / First of all + 1. 请先搜索有关此问题的 [现有问题](https://github.com/EasyTier/EasyTier/issues?q=is%3Aissue)。 + 1. Please search for [existing issues](https://github.com/EasyTier/EasyTier/issues?q=is%3Aissue) about this problem first. + 2. 请确保所使用的 Easytier 版本都是最新的。 + 2. Make sure that all Easytier versions are up-to-date. + 3. 请确保这是 EasyTier 的问题,而不是你正在使用的其他内容引起的问题。 + 3. Make sure it's an issue with EasyTier and not something else you are using. + 4. 请记得遵守我们的社区准则并保持友好态度。 + 4. Remember to follow our community guidelines and be friendly. + + - type: textarea + id: description + attributes: + label: 描述问题 / Describe the bug + description: 对 bug 的明确描述。如果条件允许,请包括屏幕截图。 / A clear description of what the bug is. Include screenshots if applicable. + placeholder: Bug description + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: 重现步骤 / Reproduction + description: 能够重现行为的步骤或指向能够复现的存储库链接。 / A link to a reproduction repo or steps to reproduce the behaviour. + placeholder: | + Please provide a minimal reproduction or steps to reproduce, see this guide https://stackoverflow.com/help/minimal-reproducible-example + Why reproduction is required? see this article https://antfu.me/posts/why-reproductions-are-required + + - type: textarea + id: expected-behavior + attributes: + label: 预期结果 / Expected behavior + description: 清楚地描述您期望发生的事情。 / A clear description of what you expected to happen. + + - type: textarea + id: context + attributes: + label: 额外上下文 / Additional context + description: 在这里添加关于问题的任何其他上下文。 / Add any other context about the problem here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..4175f6d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,38 @@ +# Copyright 2024-present Easytier Programme within The Commons Conservancy +# SPDX-License-Identifier: Apache-2.0 + +name: 💡 新功能请求 / Feature Request +title: '[feat] ' +description: 提出一个想法 / Suggest an idea +labels: ['type: feature request'] + +body: + - type: textarea + id: problem + attributes: + label: 描述问题 / Describe the problem + description: 明确描述此功能将解决的问题 / A clear description of the problem this feature would solve + placeholder: "I'm always frustrated when..." + validations: + required: true + + - type: textarea + id: solution + attributes: + label: "描述您想要的解决方案 / Describe the solution you'd like" + description: 明确说明您希望做出的改变 / A clear description of what change you would like + placeholder: 'I would like to...' + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: 替代方案 / Alternatives considered + description: "您考虑过的任何替代解决方案 / Any alternative solutions you've considered" + + - type: textarea + id: context + attributes: + label: 额外上下文 / Additional context + description: 在此处添加有关问题的任何其他上下文。 / Add any other context about the problem here. \ No newline at end of file