This is an automated email from the ASF dual-hosted git repository.
terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 1377a66f697 Modernize pull request and bug report templates (#40132)
1377a66f697 is described below
commit 1377a66f697cd81e6c4728211e1a801b6b367e76
Author: Liang Zhang <[email protected]>
AuthorDate: Sat Oct 10 14:48:27 2026 +0800
Modernize pull request and bug report templates (#40132)
---
.github/ISSUE_TEMPLATE/bug-report.md | 32 -----------
.github/ISSUE_TEMPLATE/bug-report.yml | 65 ++++++++++++++++++++++
...L_REQUEST_TEMPLATE => PULL_REQUEST_TEMPLATE.md} | 14 ++---
.licenserc.yaml | 2 +-
4 files changed, 73 insertions(+), 40 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug-report.md
b/.github/ISSUE_TEMPLATE/bug-report.md
deleted file mode 100644
index 37e003dd482..00000000000
--- a/.github/ISSUE_TEMPLATE/bug-report.md
+++ /dev/null
@@ -1,32 +0,0 @@
----
-name: "\U0001F41B Bug Report"
-about: Something isn't working as expected
----
-
-## Bug Report
-
-**For English only**, other languages will not accept.
-
-Before report a bug, make sure you have:
-
-- Searched open and closed [GitHub
issues](https://github.com/apache/shardingsphere/issues).
-- Read documentation: [ShardingSphere
Doc](https://shardingsphere.apache.org/document/current/en/overview).
-
-Please pay attention on issues you submitted, because we maybe need more
details.
-If no response anymore and we cannot reproduce it on current information, we
will **close it**.
-
-Please answer these questions before submitting your issue. Thanks!
-
-### Which version of ShardingSphere did you use?
-
-### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
-
-### Expected behavior
-
-### Actual behavior
-
-### Reason analyze (If you can)
-
-### Steps to reproduce the behavior, such as: SQL to execute, sharding rule
configuration, when exception occur etc.
-
-### Example codes for reproduce this issue (such as a github link).
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml
b/.github/ISSUE_TEMPLATE/bug-report.yml
new file mode 100644
index 00000000000..688c607aa11
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -0,0 +1,65 @@
+name: "\U0001F41B Bug Report"
+description: Something isn't working as expected
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Please report bugs in English.
+ Please respond to requests for additional information.
+ Issues may be closed if there is no response and the available
information is insufficient to reproduce the problem.
+ - type: checkboxes
+ id: prerequisites
+ attributes:
+ label: Before reporting a bug
+ options:
+ - label: I have searched open and closed [GitHub
issues](https://github.com/apache/shardingsphere/issues).
+ required: true
+ - label: I have read the [ShardingSphere
documentation](https://shardingsphere.apache.org/document/current/en/overview).
+ required: true
+ - type: input
+ id: version
+ attributes:
+ label: ShardingSphere version
+ description: Provide the version number, or the branch and commit if
using a development build.
+ validations:
+ required: true
+ - type: dropdown
+ id: project
+ attributes:
+ label: ShardingSphere project
+ multiple: true
+ options:
+ - ShardingSphere-JDBC
+ - ShardingSphere-Proxy
+ validations:
+ required: true
+ - type: textarea
+ id: expected-behavior
+ attributes:
+ label: Expected behavior
+ validations:
+ required: true
+ - type: textarea
+ id: actual-behavior
+ attributes:
+ label: Actual behavior
+ description: Describe what happened and include relevant error messages
or logs.
+ validations:
+ required: true
+ - type: textarea
+ id: reason-analysis
+ attributes:
+ label: Reason analysis
+ description: Explain the suspected cause if you have investigated it.
+ - type: textarea
+ id: reproduction-steps
+ attributes:
+ label: Steps to reproduce
+ description: Provide the SQL, sharding rule configuration, and steps
needed to reproduce the problem.
+ validations:
+ required: true
+ - type: textarea
+ id: example-code
+ attributes:
+ label: Example code
+ description: Provide a minimal reproducible example or a link to a
repository.
diff --git a/.github/PULL_REQUEST_TEMPLATE b/.github/PULL_REQUEST_TEMPLATE.md
similarity index 52%
rename from .github/PULL_REQUEST_TEMPLATE
rename to .github/PULL_REQUEST_TEMPLATE.md
index 1b20e08b085..cfd7c0f6faf 100644
--- a/.github/PULL_REQUEST_TEMPLATE
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,18 +1,18 @@
-Fixes #ISSUSE_ID.
+Fixes #ISSUE_ID.
Changes proposed in this pull request:
-
---
-Before committing this PR, I'm sure that I have checked the following options:
+Before submitting this PR, I confirm that:
- [ ] My code follows the [code of
conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/)
of this project.
-- [ ] I have self-reviewed the commit code.
+- [ ] I have reviewed my changes.
- [ ] I have (or in comment I request) added corresponding labels for the pull
request.
-- [ ] I have passed maven check locally : `./mvnw clean install -B -T1C
-Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`.
-- [ ] I have made corresponding changes to the documentation.
-- [ ] I have added corresponding unit tests for my changes.
-- [ ] I have updated the Release Notes of the current development version. For
more details, see [Update Release
Note](https://shardingsphere.apache.org/community/en/involved/contribute/contributor/)
+- [ ] I have passed the required local checks: `./mvnw clean install -B -T1C
-Pcheck`.
+- [ ] I have updated the relevant documentation, if applicable.
+- [ ] I have added or updated unit tests for my changes, if applicable.
+- [ ] I have updated the Release Notes of the current development version, if
applicable. For more details, see [Update Release
Note](https://shardingsphere.apache.org/community/en/involved/contribute/contributor/).
- [ ] I have disclosed the tool and affected files or scope for any material
AI assistance, as required by the [AI-assisted contribution policy].
[AI-assisted contribution policy]:
https://github.com/apache/shardingsphere/blob/master/AI_POLICY.md
diff --git a/.licenserc.yaml b/.licenserc.yaml
index a532525adaf..62e33284876 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -23,7 +23,7 @@ header:
paths-ignore:
- '.github/GIT_TEMPLATE/**'
- '.github/ISSUE_TEMPLATE/**'
- - '.github/PULL_REQUEST_TEMPLATE'
+ - '.github/PULL_REQUEST_TEMPLATE.md'
- '**/.gitignore'
- '.mvn'
- 'docs/**'