From c96b93324ce8b1a82c452284b7b3d4f71243c7c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20St=C3=BChmer?= <me@samtrion.net> Date: Wed, 11 Oct 2023 08:12:36 +0200 Subject: [PATCH] chore(template): sync with dailydevops/dotnet-template [skip ci] --- .github/ISSUE_TEMPLATE/template_bug.yml | 37 ++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE/template_pr.yml | 39 +++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/template_bug.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE/template_pr.yml diff --git a/.github/ISSUE_TEMPLATE/template_bug.yml b/.github/ISSUE_TEMPLATE/template_bug.yml new file mode 100644 index 0000000..4dd41bb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/template_bug.yml @@ -0,0 +1,37 @@ +name: 🐞 Bug +description: Submit a bug report +title: "bug: <replace with a short description>" +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! Before submitting a `bug`, please make sure there is no existing issue for the one you encountered. + - type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true + - type: input + attributes: + label: Package & package version + description: Which package and version does this bug affect? + placeholder: e.g. NetEvolve.Example 1.2.3 + validations: + required: true + - type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + placeholder: The more details we have, the better we can reproduce the problem and fix it. + validations: + required: false + - type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + placeholder: The more details we have, the better we can reproduce the problem and fix it. + validations: + required: false diff --git a/.github/PULL_REQUEST_TEMPLATE/template_pr.yml b/.github/PULL_REQUEST_TEMPLATE/template_pr.yml new file mode 100644 index 0000000..64cad0c --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/template_pr.yml @@ -0,0 +1,39 @@ +<!-- Type of change +Please label this PR with one of the existing labels, depending on the scope of your change. +--> + +## What does this PR do? + +<!-- Mandatory +Explain here the changes you made on the PR. Please explain the WHAT: patterns used, algorithms implemented, design architecture, etc. +--> + +## Why is it important? + +<!-- Mandatory +Explain here the WHY, or the rationale / motivation for the changes. +--> + +## Related issues + +<!-- Recommended +Link related issues below. Insert the issue link or reference after the word "Closes" if merging this should automatically close it. + +- Closes #123 +- Relates #123 +- Requires #123 +- Supersedes #123 +--> +- + +<!-- Recommended +## How to test this PR + +Explain here how this PR will be tested by the reviewer: commands, dependencies, steps, etc. +--> + +<!-- Optional +## Follow-ups + +Add here any thought that you consider could be identified as an actionable step once this PR is merged. +-->