From 9c7374665e30f26bfc09dffaab1ec535824050f0 Mon Sep 17 00:00:00 2001 From: Diogo Mendes Matsubara Date: Wed, 15 May 2024 09:03:52 +0200 Subject: [PATCH] feat: Add PR templates with pre-filled labels --- .github/PULL_REQUEST_TEMPLATE/bug.yml | 13 +++++++++++++ .github/PULL_REQUEST_TEMPLATE/enhancement.yml | 13 +++++++++++++ .github/PULL_REQUEST_TEMPLATE/internal.yml | 13 +++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/bug.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE/enhancement.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE/internal.yml diff --git a/.github/PULL_REQUEST_TEMPLATE/bug.yml b/.github/PULL_REQUEST_TEMPLATE/bug.yml new file mode 100644 index 0000000..230550b --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/bug.yml @@ -0,0 +1,13 @@ +name: Bug +description: | + Pull request proposing a fix to a bug. +labels: ["bug"] +body: + - type: textarea + id: summary + attributes: + label: "Describe the pull request" + description: | + A clear and concise description of the changes. + validations: + required: true \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE/enhancement.yml b/.github/PULL_REQUEST_TEMPLATE/enhancement.yml new file mode 100644 index 0000000..b3dd113 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/enhancement.yml @@ -0,0 +1,13 @@ +name: Enhancement +description: | + Pull request proposing an enhancement. +labels: ["enhancement"] +body: + - type: textarea + id: summary + attributes: + label: "Describe the pull request" + description: | + A clear and concise description of the changes. + validations: + required: true \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE/internal.yml b/.github/PULL_REQUEST_TEMPLATE/internal.yml new file mode 100644 index 0000000..35c888f --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/internal.yml @@ -0,0 +1,13 @@ +name: Internal +description: | + Pull request proposing an internal change that shouldn't show up in the changelog. +labels: ["internal"] +body: + - type: textarea + id: summary + attributes: + label: "Describe the pull request" + description: | + A clear and concise description of the changes. + validations: + required: true \ No newline at end of file