Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

Add PR and improvement issue template

Jerry Shaoc2722fa6cd43
diff --git a/.github/ISSUE_TEMPLATE/improvement.yml b/.github/ISSUE_TEMPLATE/improvement.yml
new file mode 100644
index 0000000000..807659603c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/improvement.yml
@@ -0,0 +1,23 @@
+# See https://gh-community.github.io/issue-template-feedback/structured/
+
+name: Improvement
+title: "[Improvement] "
+description: Suggest an improvement on performance, code quality, user experience, etc
+labels: [ "improvement" ]
+body:
+
+ - type: textarea
+ attributes:
+ label: What would you like to be improved?
+ placeholder: >
+ Please describe the problem you see and how it is needed to be improved.
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
+ label: How should we improve?
+ placeholder: >
+ Please provide the solution if you have thoughts.
+ validations:
+ required: false
diff --git a/.github/PULL_REQUEST_TEMPLATE b/.github/PULL_REQUEST_TEMPLATE
new file mode 100644
index 0000000000..2590b3c215
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE
@@ -0,0 +1,37 @@
+<!--
+1. Title: [#<issue>] <type>(<scope>): <subject>
+ Examples:
+ - "[#123] feat(operator): support xxx"
+ - "[#233] fix: check null before access result in xxx"
+ - "[MINOR] refactor: fix typo in variable name"
+ - "[MINOR] docs: fix typo in README"
+ - "[#255] test: fix flaky test NameOfTheTest"
+ Reference: https://www.conventionalcommits.org/en/v1.0.0/
+2. Contributor guidelines:
+ https://github.com/apache/incubator-uniffle/blob/master/CONTRIBUTING.md
+3. If the PR is unfinished, please mark this PR as draft.
+-->
+
+### What changes were proposed in this pull request?
+
+(Please outline the changes and how this PR fixes the issue.)
+
+### Why are the changes needed?
+
+(Please clarify why the changes are needed. For instance,
+ 1. If you propose a new API, clarify the use case for a new API.
+ 2. If you fix a bug, describe the bug.)
+
+Fix: # (issue)
+
+### Does this PR introduce _any_ user-facing change?
+
+(Please list the user-facing changes introduced by your change, including
+ 1. Change in user-facing APIs.
+ 2. Addition or removal of property keys.)
+
+### How was this patch tested?
+
+(Please test your changes, and provide instructions on how to test it:
+ 1. If you add a feature or fix a bug, add a test to cover your changes.
+ 2. If you fix a flaky test, repeat it for many times to prove it works.)