Fix pre-check for issue template style (#13824)
* Fix pre-check for issue template style
* Add version
diff --git a/.github/ISSUE_TEMPLATE/1-bug.yml b/.github/ISSUE_TEMPLATE/1-bug.yml
index 7391050..e7d06e4 100644
--- a/.github/ISSUE_TEMPLATE/1-bug.yml
+++ b/.github/ISSUE_TEMPLATE/1-bug.yml
@@ -21,10 +21,9 @@
labels: ["status/need-triage"]
projects: ["apache/337"]
body:
-- type: checkboxes
+- type: markdown
attributes:
- label: Pre-check
- description: >
+ value: |
<img src="https://dubbo.apache.org/imgs/nav_logo2.png" alt="Dubbo logo" height="90px" align="right" />
Thank you for finding the time to report the problem! We really appreciate the community efforts to improve Dubbo.
@@ -38,6 +37,10 @@
**Dubbo is open for world wide collaboration, please make sure that all the content you provide is in English.**
Remember that non-English issues is quite not friendly for everyone, and might unable to get the response!
+
+- type: checkboxes
+ attributes:
+ label: Pre-check
options:
- label: >
I am sure that all the content I provide is in English.
@@ -55,6 +58,14 @@
issues.
required: true
+- type: input
+ attributes:
+ label: Dubbo Version
+ description: "Which Dubbo version, JDK version and operating system did you use?"
+ placeholder: "Example: Dubbo Java 3.2.12, OpenJDK 1.8, Ubuntu 20.04"
+ validations:
+ required: true
+
- type: textarea
attributes:
label: Steps to reproduce this issue
diff --git a/.github/ISSUE_TEMPLATE/2-feature.yml b/.github/ISSUE_TEMPLATE/2-feature.yml
index 627ec2d..3c01789 100644
--- a/.github/ISSUE_TEMPLATE/2-feature.yml
+++ b/.github/ISSUE_TEMPLATE/2-feature.yml
@@ -21,10 +21,9 @@
labels: ["status/need-triage"]
projects: ["apache/337"]
body:
-- type: checkboxes
+- type: markdown
attributes:
- label: Pre-check
- description: >
+ value: |
<img src="https://dubbo.apache.org/imgs/nav_logo2.png" alt="Dubbo logo" height="90px" align="right" />
Thank you for finding the time to propose new feature!
@@ -33,6 +32,10 @@
**Dubbo is open for world wide collaboration, please make sure that all the content you provide is in English.**
Remember that non-English issues is quite not friendly for everyone, and might unable to get the response!
+
+- type: checkboxes
+ attributes:
+ label: Pre-check
options:
- label: >
I am sure that all the content I provide is in English.