From edc3b3a91b1401f31e33070695b27a3f82862d68 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Sun, 12 Nov 2023 13:27:27 +0100 Subject: [PATCH] update pr template --- .../{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE.yml} | 0 .gitea/PULL_REQUEST_TEMPLATE.md | 21 ---------- .gitea/PULL_REQUEST_TEMPLATE.yml | 41 +++++++++++++++++++ 3 files changed, 41 insertions(+), 21 deletions(-) rename .gitea/{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE.yml} (100%) delete mode 100644 .gitea/PULL_REQUEST_TEMPLATE.md create mode 100644 .gitea/PULL_REQUEST_TEMPLATE.yml diff --git a/.gitea/ISSUE_TEMPLATE.md b/.gitea/ISSUE_TEMPLATE.yml similarity index 100% rename from .gitea/ISSUE_TEMPLATE.md rename to .gitea/ISSUE_TEMPLATE.yml diff --git a/.gitea/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index f8bad47..0000000 --- a/.gitea/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,21 +0,0 @@ -#### :book: Summary - - - -#### :bookmark_tabs: Test Plan - -> :bulb: Select your test plan for the code changes. - -| Choice | Test Method | -| :----: | :----------- | -| ✅ | CI pipeline tests | -| | Custom test | -| | No test plan | - -##### Details / Justification - - - -#### :books: Additional Notes - - diff --git a/.gitea/PULL_REQUEST_TEMPLATE.yml b/.gitea/PULL_REQUEST_TEMPLATE.yml new file mode 100644 index 0000000..b9e7951 --- /dev/null +++ b/.gitea/PULL_REQUEST_TEMPLATE.yml @@ -0,0 +1,41 @@ +name: Pull Request +about: General pull request +title: "" +body: + - type: markdown + attributes: + value: | + > **Note**: Thanks for contributing to this project with your pull request! + + - type: textarea + id: summary + attributes: + label: 📖 Summary + description: Provide a summary of your changes. Also descibe the why... + placeholder: Tell us about your code changes. + + validations: + required: true + - type: dropdown + id: testplan + attributes: + label: 📑 Test Plan + description: How did you test your code changes? + options: + - ✅ CI pipeline tests (Default) + - 🤔 Custom test + - 💣 No test Plan + validations: + required: true + - type: textarea + id: details + attributes: + label: 💬 Details + description: Add your custom test details or justification for missing tests here. + placeholder: First, solve the problem. Then, write the code. + - type: textarea + id: notes + attributes: + label: 📚 Additional Notes + description: A place for additional notes or linking references. + placeholder: Software and cathedrals are much the same - First we build them, then we pray.