From 9aa4e3480a7a38af7778207a8f234163311d453a Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 23 Oct 2024 22:46:48 +0300 Subject: [PATCH] Update and rename PULL_REQUEST_TEMPLATE.md to PULL_REQUEST_TEMPLATE.yml --- .github/PULL_REQUEST_TEMPLATE.md | 25 -------------- .github/PULL_REQUEST_TEMPLATE.yml | 57 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 25 deletions(-) delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.yml diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index aa4db5ba..00000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,25 +0,0 @@ -## What type of PR is this? - -- [ ] Refactor -- [ ] Feature -- [ ] Bug Fix -- [ ] Optimization -- [ ] Documentation Update - -## Description - -- - -## Related Tickets & Documents - -- - -## QA Instructions, Screenshots - -- - -## Added/updated tests? - -- [ ] Yes -- [ ] No, and this is why: -- [ ] I need help with writing tests diff --git a/.github/PULL_REQUEST_TEMPLATE.yml b/.github/PULL_REQUEST_TEMPLATE.yml new file mode 100644 index 00000000..b3ad979d --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.yml @@ -0,0 +1,57 @@ +name: "🪽 Pull requests" +description: Submit a Pull requests +title: "🪽 [PullRequests] - " +body: + - type: dropdown + id: PRtype + attributes: + label: "PRtype" + description: What type of PR is this? + multiple: true + options: + - Refactor + - Feature + - BugFix + - Optimization + - DocumentationUpdate + validations: + required: true + + - type: dropdown + id: Added/updated tests + attributes: + label: "Added/updated tests" + description: Have you tested these changes? + multiple: false + options: + - Yes + - No + validations: + required: false + + - type: textarea + id: Description + validations: + required: true + attributes: + label: "Description" + description: | + A clear and concise description of the Pull requests + + - type: textarea + id: Tickets & Documents + validations: + required: false + attributes: + label: "Tickets & Documents" + description: | + Related tickets and documents for the current case + + - type: textarea + id: QA Instructions & Screenshots + validations: + required: false + attributes: + label: "QA Instructions & Screenshots" + description: | + Please write in this line with instructions on how to test your changes, a note on the devices and browsers this has been tested on, as well as any relevant images for UI changes