From b546ba49b4db0e2333e4c3cb9c97bd1fdbe5da41 Mon Sep 17 00:00:00 2001 From: kmato Date: Fri, 21 Jun 2024 14:23:25 +0200 Subject: [PATCH] templates for issues and PR added --- .github/ISSUE_TEMPLATE/bug-report.yml | 45 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 32 +++++++++++++++ .github/pull_request_template.md | 16 ++++++++ 3 files changed, 93 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..f35e012 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,45 @@ +name: 🐛 Bug report +description: Something is not working correctly. +title: "🐛 " +body: + - type: markdown + attributes: + value: >- + **Thank you for wanting to report a bug for this project!** + + ⚠ + Verify first that your issue is not [already reported on GitHub](https://github.com/cda-tum/mqt-core/search?q=is%3Aissue&type=issues). + + If you have general questions, please consider [starting a discussion](https://github.com/cda-tum/mqt-core/discussions). + - type: textarea + attributes: + label: Environment information + description: >- + Please provide information about your environment. For example, OS, C++ compiler, mqt.core version etc. + placeholder: | + - OS: + - C++ compiler: + - mqt.core version: + - Additional environment information: + validations: + required: true + - type: textarea + attributes: + label: Description + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + - type: textarea + attributes: + label: How to Reproduce + description: Please provide steps to reproduce this bug. + placeholder: | + 1. Get package from '...' + 2. Then run '...' + 3. An error occurs. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..f82e6b1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,32 @@ +name: ✨ Feature request +description: Suggest an idea +title: "✨ <title>" +body: + - type: markdown + attributes: + value: > + **Thank you for wanting to suggest a feature for this project!** + + ⚠ + Verify first that your idea is not [already requested on GitHub](https://github.com/cda-tum/mqt-core/search?q=is%3Aissue&type=issues). + + - type: textarea + attributes: + label: What's the problem this feature will solve? + description: >- + What are you trying to do, that you are unable to achieve as it currently stands? + placeholder: >- + I'm trying to do X and I'm missing feature Y for this to be + easily achievable. + validations: + required: true + + - type: textarea + attributes: + label: Describe the solution you'd like + description: > + Clear and concise description of what you want to happen. + placeholder: >- + When I do X, I want to achieve Y in a situation when Z. + validations: + required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..2069ebf --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,16 @@ +## Description + +Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. + +Fixes #(issue) <!--- Replace (issue) with the issue number that is fixed by this pull request. --> + +## Checklist: + +<!--- +This checklist serves as a reminder of a couple of things that ensure your pull request will be merged swiftly. +--> + +- [ ] The pull request only contains commits that are related to it. +- [ ] I have added appropriate tests and documentation. +- [ ] I have made sure that all CI jobs on GitHub pass. +- [ ] The pull request introduces no new warnings and follows the project's style guidelines.