From 34e0a2fb414615e3c89e74ac3eb3fafd1cb4f793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E6=89=87=E6=BB=91=E7=BF=94=E7=BF=BC?= Date: Fri, 23 Aug 2024 06:48:25 +0000 Subject: [PATCH] Issues template: Add require for latest version --- .github/ISSUE_TEMPLATE/bug_report.yml | 12 +++++------- .github/ISSUE_TEMPLATE/bug_report_zh.yml | 14 ++++++-------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 9efeede77f32..32f58b19053d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -13,16 +13,14 @@ body: required: true - label: I searched issues and did not find any similar issues. required: true - - type: input - attributes: - label: Version - description: Version of Xray-core - validations: - required: true + - label: The problem can be successfully reproduced in the latest Release + required: true - type: textarea attributes: label: Description - description: Please provide a detailed description of the error. And the information you think valuable. + description: |- + Please provide a detailed description of the error. And the information you think valuable. + If the problem occurs after the update, please provide the **specific** version validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/bug_report_zh.yml b/.github/ISSUE_TEMPLATE/bug_report_zh.yml index 2fd33c566bad..201f847e22bd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_zh.yml +++ b/.github/ISSUE_TEMPLATE/bug_report_zh.yml @@ -11,18 +11,16 @@ body: required: true - label: 我提供了完整的配置文件和日志,而不是出于自己的判断只给出截取的部分。 required: true - - label: 我搜索了issues,没有发现已提出的类似问题。 + - label: 我搜索了 issues, 没有发现已提出的类似问题。 + required: true + - label: 问题在 Release 最新的版本上可以成功复现 required: true - - type: input - attributes: - label: 版本 - description: 使用的Xray-core版本 - validations: - required: true - type: textarea attributes: label: 描述 - description: 请提供错误的详细描述。以及你认为有价值的信息。 + description: |- + 请提供错误的详细描述。以及你认为有价值的信息。 + 如果问题在更新后出现,请提供**具体**出现问题的版本号。 validations: required: true - type: textarea