From 26469f7aafa7238a0ddecf8019bf65ba9106ef7b Mon Sep 17 00:00:00 2001 From: xilesun <2013xile@gmail.com> Date: Mon, 15 May 2023 19:47:39 +0800 Subject: [PATCH] chore: update pr template --- .github/PULL_REQUEST_TEMPLATE/bug_fix.md | 6 ------ .github/PULL_REQUEST_TEMPLATE/feature.md | 6 ------ .github/pull_request_template.md | 7 ++----- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE/bug_fix.md b/.github/PULL_REQUEST_TEMPLATE/bug_fix.md index 8e485a268..3d0612cb2 100644 --- a/.github/PULL_REQUEST_TEMPLATE/bug_fix.md +++ b/.github/PULL_REQUEST_TEMPLATE/bug_fix.md @@ -1,9 +1,3 @@ ---- -name: Bug fix -about: A template for submitting a bug fix pull request. - ---- - # Description (Bug描述) ## Steps to reproduce (复现步骤) diff --git a/.github/PULL_REQUEST_TEMPLATE/feature.md b/.github/PULL_REQUEST_TEMPLATE/feature.md index e298d9d22..1dee54180 100644 --- a/.github/PULL_REQUEST_TEMPLATE/feature.md +++ b/.github/PULL_REQUEST_TEMPLATE/feature.md @@ -1,9 +1,3 @@ ---- -name: Feature -about: A template for submitting a new feature. - ---- - # Description (需求描述) Describe the new feature or modification to an existing feature clearly and consciously. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index e298d9d22..a2dbf2141 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,8 +1,5 @@ ---- -name: Feature -about: A template for submitting a new feature. - ---- +> **Note** +> This is a template for submitting a new feature. Use the bug fix template if you're submitting a bug fix pull request by adding `template=bug_fix.md` to your pull request URL. # Description (需求描述) Describe the new feature or modification to an existing feature clearly and consciously.