From 2bb7e13e5189aad7f9886278ce45fd6efa481a2e Mon Sep 17 00:00:00 2001 From: Tyrrrz Date: Thu, 22 Apr 2021 22:11:39 +0300 Subject: [PATCH] Use issue forms --- .github/ISSUE_TEMPLATE/bug-report.yml | 30 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++++ .github/ISSUE_TEMPLATE/feature-request.yml | 16 ++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..faf8e31 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,30 @@ +name: "\U0001F41E Bug report" +description: Report broken functionality. +labels: [bug] +body: +- type: markdown + attributes: + value: | + - Please check existing issues (both opened and closed) to ensure that this bug hasn't been reported before. + - If you want to ask a question instead of reporting a bug, use [discussions](https://github.com/Tyrrrz/CliFx/discussions/new) instead. + +- type: input + attributes: + label: Version + description: "Which version(s) of CliFx does this bug affect?" + validations: + required: true + +- type: textarea + attributes: + label: Details + description: "Clear and thorough explanation of the bug. If relevant, include screenshots or screen recordings." + validations: + required: true + +- type: textarea + attributes: + label: Steps to reproduce + description: "Minimum steps or code required to reproduce the bug." + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..ba8d12a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: "\U0001F5E8 Ask a question" + url: https://github.com/Tyrrrz/CliFx/discussions/new + about: Please ask and answer questions here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..1fe2d98 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,16 @@ +name: "\U00002728 Feature request" +description: Request a new feature. +labels: [enhancement] +body: +- type: markdown + attributes: + value: | + - Please check existing issues (both opened and closed) to ensure that this feature hasn't been requested before. + - If you want to ask a question instead of requesting a feature, use [**discussions**](https://github.com/Tyrrrz/CliFx/discussions/new) instead. + +- type: textarea + attributes: + label: Details + description: "Clear and thorough explanation of the feature you have in mind." + validations: + required: true \ No newline at end of file