From e1abf4f30f730a023f52428131fb463e185daadc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E4=B8=80=E4=BA=8C?= Date: Fri, 25 Mar 2022 16:40:14 +0800 Subject: [PATCH] feat: issue yaml template --- .github/ISSUE_TEMPLATE/bug.md | 31 ------------------------------ .github/ISSUE_TEMPLATE/bug.yml | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 31 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug.md create mode 100644 .github/ISSUE_TEMPLATE/bug.yml diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md deleted file mode 100644 index b0d835a0..00000000 --- a/.github/ISSUE_TEMPLATE/bug.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: Bug Report 报错问题 -about: Create a report to help us improve 有报错或者有Bug就发在这 -title: 'bug: ' ---- - -## Environment - - - -TG Version v - -Electron Version: - -Node Version: - -Chromium Version: - -OS (macOS, Windows, Linux) and Version: - -## Description: - - - -## Steps to Reproduce: - - - -## Additional Context - - diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..4d8c6095 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,35 @@ +name: Bug Report 报错问题 +description: Create a report to help us improve 有报错或者有Bug就发在这 +title: 'bug: ' +labels: ['bug'] +assignees: + - linonetwo +body: + - type: textarea + id: Environment + attributes: + label: Environment + description: You can copy this from right click context menu → More → About + validations: + required: false + - type: textarea + id: Description + attributes: + label: Description 描述 + description: Describe how the bug manifests and what the behavior would be without the bug. + placeholder: Tell us what you see! + validations: + required: false + - type: textarea + id: Reproduce + attributes: + label: Steps to Reproduce 复现方式 + description: Please explain the steps required to duplicate the issue, especially if you are able to provide a sample application. + placeholder: Help developer to debug 帮助开发者高效debug + validations: + required: true + - type: textarea + id: Context + attributes: + label: Additional Context + description: List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to add, use case, forum links, screenshots, OS if applicable, etc.