This is an automated email from the ASF dual-hosted git repository.

jimin pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git


The following commit(s) were added to refs/heads/2.x by this push:
     new a760f513cb optimize: fix ISSUE_TEMPLATE not work (#7370)
a760f513cb is described below

commit a760f513cbe3b34c4ff05ad72111724e00cf67ac
Author: Wu Guanlin <[email protected]>
AuthorDate: Thu May 29 14:59:58 2025 +0800

    optimize: fix ISSUE_TEMPLATE not work (#7370)
---
 .github/ISSUE_TEMPLATE/BUG_REPORT.md       | 61 ---------------------
 .github/ISSUE_TEMPLATE/BUG_REPORT.yml      | 86 ++++++++++++++++++++++++++++++
 .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md  | 34 ------------
 .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml | 42 +++++++++++++++
 .github/ISSUE_TEMPLATE/config.yml          | 22 ++++++++
 README.md                                  |  2 +-
 changes/en-us/2.x.md                       |  1 +
 changes/zh-cn/2.x.md                       |  3 +-
 8 files changed, 154 insertions(+), 97 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md 
b/.github/ISSUE_TEMPLATE/BUG_REPORT.md
deleted file mode 100644
index fc673a0d30..0000000000
--- a/.github/ISSUE_TEMPLATE/BUG_REPORT.md
+++ /dev/null
@@ -1,61 +0,0 @@
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-    
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
--->
----
-name: Bug Report    
-
-about: If you would like to report an issue to Seata, please use this template.
-
----
-<!-- Please do not use this issue template to report security vulnerabilities 
but refer to our [security 
policy](https://github.com/seata/seata/security/policy). -->
-
-- [ ] I have searched the [issues](https://github.com/seata/seata/issues) of 
this repository and believe that this is not a duplicate.
-
-### Ⅰ. Issue Description
-
-
-### Ⅱ. Describe what happened
-
-  If there is an exception, please attach the exception trace:
-
-```
-Just paste your stack trace here!
-```
-
-
-### Ⅲ. Describe what you expected to happen
-
-
-### Ⅳ. How to reproduce it (as minimally and precisely as possible)
-
-1. xxx
-2. xxx
-3. xxx
-
-Minimal yet complete reproducer code (or URL to code):
-
-
-
-### Ⅴ. Anything else we need to know?
-
-
-### Ⅵ. Environment:
-
-- JDK version(e.g. `java -version`):
-- Seata client/server version:  
-- Database version:
-- OS(e.g. `uname -a`):
-- Others:
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml 
b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml
new file mode 100644
index 0000000000..0c969c85b0
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml
@@ -0,0 +1,86 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: Bug Report
+description: If you would like to report an issue to Seata, please use this 
template.
+
+body:
+- type: markdown
+  attributes:
+    value: Please do not use this issue template to report security 
vulnerabilities but refer to our [security 
policy](https://github.com/seata/seata/security/policy).
+
+- type: checkboxes
+  attributes:
+    label: Check Ahead
+    options:
+    - label: >
+        I have searched the [issues](https://github.com/seata/seata/issues) of 
this repository and believe that this is not a duplicate.
+      required: true
+
+- type: textarea
+  attributes:
+    label: Ⅰ. Issue Description
+  validations:
+    required: false
+
+- type: textarea
+  attributes:
+    label: Ⅱ. Describe what happened
+    placeholder: >
+      If there is an exception, please attach the exception trace:
+      
+      ```
+      Just paste your stack trace here!
+      ```
+  validations:
+    required: false
+
+- type: textarea
+  attributes:
+    label: Ⅲ. Describe what you expected to happen
+  validations:
+    required: false
+
+- type: textarea
+  attributes:
+    label: Ⅳ. How to reproduce it (as minimally and precisely as possible)
+    placeholder: >
+      1. xxx
+      2. xxx
+      3. xxx
+
+      Minimal yet complete reproducer code (or URL to code):
+  validations:
+    required: false
+
+- type: textarea
+  attributes:
+    label: Ⅴ. Anything else we need to know?
+  validations:
+    required: false
+
+- type: textarea
+  attributes:
+    label: Ⅵ. Environment
+    placeholder: >
+      - JDK version(e.g. `java -version`):
+      - Seata client/server version:
+      - Database version:
+      - OS(e.g. `uname -a`):
+      - Others:      
+  validations:
+    required: false
diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md 
b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
deleted file mode 100644
index 8c1d98d073..0000000000
--- a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
+++ /dev/null
@@ -1,34 +0,0 @@
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-    
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
--->
----
-name: Feature Request
-
-about: Suggest an idea for Seata
-
----
-<!-- Please do not use this issue template to report security vulnerabilities 
but refer to our [security 
policy](https://github.com/seata/seata/security/policy). -->
-
-## Why you need it?
- Is your feature request related to a problem? Please describe in details
-
-
-## How it could be?
-A clear and concise description of what you want to happen. You can explain 
more about input of the feature, and output of it.
-
-
-## Other related information
-Add any other context or screenshots about the feature request here.
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml 
b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
new file mode 100644
index 0000000000..1f771990c1
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
@@ -0,0 +1,42 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: Feature Request
+description: Suggest an idea for Seata
+
+body:
+- type: markdown
+  attributes:
+    value: |
+      Please do not use this issue template to report security vulnerabilities 
but refer to our [security 
policy](https://github.com/seata/seata/security/policy).
+      **For major feature requests impacting the roadmap**, please submit them 
to [our Mailing List](mailto:[email protected]) for broader discussion!
+
+- type: textarea
+  attributes:
+    label: Why you need it?
+    description: Is your feature request related to a problem? Please describe 
in details
+
+- type: textarea
+  attributes:
+    label: How it could be?
+    description: A clear and concise description of what you want to happen. 
You can explain more about input of the feature, and output of it.
+
+- type: textarea
+  attributes:
+    label: Other related information
+    description: Add any other context or screenshots about the feature 
request here.
+  
diff --git a/.github/ISSUE_TEMPLATE/config.yml 
b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000000..ece264c969
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+blank_issues_enabled: false
+contact_links:
+  - name: Ask a question
+    url: https://github.com/apache/incubator-seata/discussions/categories/q-a
+    about: Ask the community for help
\ No newline at end of file
diff --git a/README.md b/README.md
index 7a50fde3c0..aafcf3b007 100644
--- a/README.md
+++ b/README.md
@@ -133,7 +133,7 @@ You can view the full documentation from Seata Official 
Website: [Seata Website
 
 ## Reporting bugs
 
-Please follow the [template](./.github/ISSUE_TEMPLATE/BUG_REPORT.md) for 
reporting any issues.
+Please follow the [template](./.github/ISSUE_TEMPLATE/BUG_REPORT.yml) for 
reporting any issues.
 
 ## Security
 
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 555ec6375b..e74b8bbd73 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -28,6 +28,7 @@ Add changes here for all PR submitted to the 2.x branch.
 - [[#7349](https://github.com/apache/incubator-seata/pull/7349)] Resolve 
NullPointerException in EtcdRegistryServiceImplMockTest
 - [[#7354](https://github.com/apache/incubator-seata/pull/7354)] fix the 
drivers in the libs folder cannot be loaded
 - [[#7356](https://github.com/apache/incubator-seata/pull/7356)] fix codecov 
bug
+- [[#7370](https://github.com/apache/incubator-seata/pull/7370)] fix 
ISSUE_TEMPLATE not work
 
 
 
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index 8e76f1d41c..0f2d5d5e2c 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -21,13 +21,14 @@
 ### feature:
 
 - [[#7261](https://github.com/apache/incubator-seata/pull/7261)] 
强制进行账户初始化并禁用默认凭据
-- [[#7356](https://github.com/apache/incubator-seata/pull/7356)] 修复 codecov 错误
 
 
 ### bugfix:
 
 - [[#7349](https://github.com/apache/incubator-seata/pull/7349)] 解决 
EtcdRegistryServiceImplMockTest 中的空指针异常
 - [[#7354](https://github.com/apache/incubator-seata/pull/7354)] 
修复lib文件夹中的驱动程序无法加载
+- [[#7356](https://github.com/apache/incubator-seata/pull/7356)] 修复 codecov 错误
+- [[#7370](https://github.com/apache/incubator-seata/pull/7370)] 修复 
ISSUE_TEMPLATE 不可用
 
 ### optimize:
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to