From 137517913880eee9f4d552f7a92963bf151c0a1b Mon Sep 17 00:00:00 2001 From: DDSRem <1448139087@qq.com> Date: Sat, 21 Oct 2023 14:15:10 +0800 Subject: [PATCH 1/2] feat: issue add operating environment --- .github/ISSUE_TEMPLATE/bug_report.yml | 9 ++++++++- .github/ISSUE_TEMPLATE/feature_request.yml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 9d7e3d3ed..3a7f43466 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -33,6 +33,14 @@ body: description: 遇到问题时程序所在的版本号 validations: required: true + - type: dropdown + id: environment + attributes: + label: 运行环境 + description: 当前程序运行环境 + options: + - Docker + - Windows - type: dropdown id: type attributes: @@ -41,7 +49,6 @@ body: options: - 主程序运行问题 - 插件问题 - - Docker或运行环境问题 - 其他问题 validations: required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 5b220b3db..8d726242d 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -14,6 +14,14 @@ body: description: 目前使用的程序版本 validations: required: true + - type: dropdown + id: environment + attributes: + label: 运行环境 + description: 当前程序运行环境 + options: + - Docker + - Windows - type: dropdown id: type attributes: @@ -22,7 +30,6 @@ body: options: - 主程序 - 插件 - - Docker - 其他 validations: required: true From a70a4c272cdefdd316be28ba154224b0787db516 Mon Sep 17 00:00:00 2001 From: DDSRem <1448139087@qq.com> Date: Sat, 21 Oct 2023 14:16:31 +0800 Subject: [PATCH 2/2] fix: running environment is required --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 ++ .github/ISSUE_TEMPLATE/feature_request.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 3a7f43466..d37bb7746 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -41,6 +41,8 @@ body: options: - Docker - Windows + validations: + required: true - type: dropdown id: type attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 8d726242d..67be3c027 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -22,6 +22,8 @@ body: options: - Docker - Windows + validations: + required: true - type: dropdown id: type attributes: