From dbcb4b6d68afbe4c1a4b7a7863a1a41f7e7f1075 Mon Sep 17 00:00:00 2001 From: Sourabh Mehta <73165318+soumeh01@users.noreply.github.com> Date: Mon, 18 Nov 2024 15:25:45 +0100 Subject: [PATCH] Issues and PR templates (#382) --- .github/ISSUE_TEMPLATE/blocker.yaml | 84 +++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug.yaml | 78 +++++++++++++++++++++++++++ .github/pull_request_template.md | 18 +++++++ 3 files changed, 180 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/blocker.yaml create mode 100644 .github/ISSUE_TEMPLATE/bug.yaml create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/blocker.yaml b/.github/ISSUE_TEMPLATE/blocker.yaml new file mode 100644 index 0000000..705f597 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/blocker.yaml @@ -0,0 +1,84 @@ +name: Blocking Bug Report +description: File a report for a blocking bug, i.e., issues that can't be worked around. +title: "[Blocker]: " +labels: ["bug", "critical"] +body: + - 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: textarea + attributes: + label: Unusable feature + description: Which feature(s) of CMSIS-Toolbox becomes unusable due to this bug? + validations: + required: true + - type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + validations: + required: true + - type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + validations: + required: true + - type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. In this environment... + 1. With this config... + 1. Run '...' + 1. See error... + validations: + required: false + - type: checkboxes + attributes: + label: Affected tools + description: Which tools are affected by this bug? + options: + - label: cbuild + required: false + - label: cbuild2cmake + required: false + - label: cpackget + required: false + - label: csolution + required: false + - label: packchk + required: false + - label: svdconv + required: false + - type: checkboxes + attributes: + label: Affected operating systems + description: On which host os platforms does the bug occur? + options: + - label: Windows amd64 + required: false + - label: Windows arm64 + required: false + - label: Linux amd64 + required: false + - label: Linux arm64 + required: false + - label: MacOS amd64 + required: false + - label: MacOS arm64 + required: false + - type: textarea + attributes: + label: Environment + description: Give more details about the affected operating system(s), e.g. distribution and version. + placeholder: | + - Ubuntu 22.04 + - Windows 10 Version 22H2 (Build ...) + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml new file mode 100644 index 0000000..2bb9d40 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -0,0 +1,78 @@ +name: Bug Report +description: File a report for a non-blocking bug, i.e., issues that can be worked around. +title: "[Bug]: " +labels: ["bug"] +body: + - 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: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + validations: + required: false + - type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + validations: + required: false + - type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. In this environment... + 1. With this config... + 1. Run '...' + 1. See error... + validations: + required: false + - type: checkboxes + attributes: + label: Affected tools + description: Which tools are affected by this bug? + options: + - label: cbuild + required: false + - label: cbuild2cmake + required: false + - label: cpackget + required: false + - label: csolution + required: false + - label: packchk + required: false + - label: svdconv + required: false + - type: checkboxes + attributes: + label: Affected operating systems + description: On which host os platforms does the bug occur? + options: + - label: Windows amd64 + required: false + - label: Windows arm64 + required: false + - label: Linux amd64 + required: false + - label: Linux arm64 + required: false + - label: MacOS amd64 + required: false + - label: MacOS arm64 + required: false + - type: textarea + attributes: + label: Environment + description: Give more details about the affected operating system(s), e.g. distribution and version. + placeholder: | + - Ubuntu 22.04 + - Windows 10 Version 22H2 (Build ...) + validations: + required: false diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..9434f62 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,18 @@ +## Fixes + + +- + +## Changes + + +- + +## Checklist + + +- [ ] ๐Ÿค– This change is covered by unit tests as required. +- [ ] ๐Ÿคน All required manual testing has been performed. +- [ ] ๐Ÿ›ก๏ธ Security impacts have been considered. +- [ ] ๐Ÿ“– All documentation updates are complete. +- [ ] ๐Ÿง  This change does not change third-party dependencies