Răsfoiți Sursa

update ci and issue template

Xwite 4 ani în urmă
părinte
comite
227b8978e7

+ 0 - 19
.github/ISSUE_TEMPLATE/02-featureRequest.md

@@ -1,19 +0,0 @@
----
-name: "[FeatureRequest] 功能请求模板"
-about: 提交你希望能够在阅读中增加的功能
-title: "[Feature Request] "
-labels: '需求'
-assignees: ''
----
-
-### 功能描述(请清晰的、详细的描述你想要的功能)
-> 
-
-### 期望实现方式(阅读应该如何实现该功能)
-> 
-
-### 附加信息(其他的与功能相关的附加信息)
-> 
-
-### 效果演示(可以手绘一些草图,或者提供可借鉴的图片)
->

+ 32 - 0
.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

+ 1 - 0
.github/workflows/test.yml

@@ -8,6 +8,7 @@ on:
       - '**'
       - '!**/assets/**'
       - '!**.md'
+      - '!**/ISSUE_TEMPLATE/**'
   pull_request:
   workflow_dispatch: