From 49c502ff7a1e2fec3b5333a7fcff46b73f17c18c Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Mon, 14 Nov 2022 07:37:19 +0800 Subject: [PATCH] update ci and issue template --- .github/ISSUE_TEMPLATE/02-featureRequest.md | 19 ------------ .github/ISSUE_TEMPLATE/02-featureRequest.yml | 32 ++++++++++++++++++++ .github/workflows/test.yml | 1 + 3 files changed, 33 insertions(+), 19 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/02-featureRequest.md create mode 100644 .github/ISSUE_TEMPLATE/02-featureRequest.yml diff --git a/.github/ISSUE_TEMPLATE/02-featureRequest.md b/.github/ISSUE_TEMPLATE/02-featureRequest.md deleted file mode 100644 index 9a09a80b9..000000000 --- a/.github/ISSUE_TEMPLATE/02-featureRequest.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: "[FeatureRequest] 功能请求模板" -about: 提交你希望能够在阅读中增加的功能 -title: "[Feature Request] " -labels: '需求' -assignees: '' ---- - -### 功能描述(请清晰的、详细的描述你想要的功能) -> - -### 期望实现方式(阅读应该如何实现该功能) -> - -### 附加信息(其他的与功能相关的附加信息) -> - -### 效果演示(可以手绘一些草图,或者提供可借鉴的图片) -> diff --git a/.github/ISSUE_TEMPLATE/02-featureRequest.yml b/.github/ISSUE_TEMPLATE/02-featureRequest.yml new file mode 100644 index 000000000..03d445b5b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02-featureRequest.yml @@ -0,0 +1,32 @@ +name: 功能请求 +description: 提交你希望能够在阅读中增加的功能 +labels: ["需求"] +body: + - type: textarea + attributes: + label: 功能描述 + placeholder: 请清晰的、详细的描述你想要的功能 + validations: + required: true + - type: textarea + attributes: + label: 期望实现方式 + placeholder: 阅读应该如何实现该功能 + validations: + required: true + - type: textarea + attributes: + label: 附加信息 + placeholder: 其他的与功能相关的附加信息 + - type: textarea + attributes: + label: 效果演示 + placeholder: 可以手绘一些草图,或者提供可借鉴的图片 + + - type: checkboxes + attributes: + label: 确认 + description: 提交issue请确保完成以下前提,否则该issue可能被忽略 + options: + - label: 搜索现有issues,不存在相似或相关的issue + required: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b93082c4..a47c044f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,7 @@ on: - '**' - '!**/assets/**' - '!**.md' + - '!**/ISSUE_TEMPLATE/**' pull_request: workflow_dispatch: