From 6c3e0e354920327717da3c92706595463aedd1ad Mon Sep 17 00:00:00 2001 From: oldme Date: Tue, 28 May 2024 15:46:50 +0800 Subject: [PATCH] update issue template Signed-off-by: oldme --- .github/ISSUE_TEMPLATE/00-bug.yml | 74 ++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/01-feature.yml | 45 ++++++++++++++++ .github/ISSUE_TEMPLATE/02-question.yml | 22 ++++++++ .github/issue_template.md | 9 ---- 4 files changed, 141 insertions(+), 9 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/00-bug.yml create mode 100644 .github/ISSUE_TEMPLATE/01-feature.yml create mode 100644 .github/ISSUE_TEMPLATE/02-question.yml delete mode 100644 .github/issue_template.md diff --git a/.github/ISSUE_TEMPLATE/00-bug.yml b/.github/ISSUE_TEMPLATE/00-bug.yml new file mode 100644 index 000000000..185128a3e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/00-bug.yml @@ -0,0 +1,74 @@ +# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms +# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema +name: Bugs +description: Create a report to help us improve. +title: "Title" +labels: + - bug + +body: + - type: markdown + attributes: + value: | + Thanks for helping us improve! 🙏 + Please answer these questions and provide as much information as possible about your problem. + + - type: input + id: helm-version + attributes: + label: Helm version + description: | + What version of Helm are you using (`helm version`)? + placeholder: ex. v3.12.3 + validations: + required: true + + - type: input + id: kubectl-version + attributes: + label: Kubectl version + description: | + What version of Kubectl are you using (`kubectl version`)? + placeholder: ex. v4.5.4 + validations: + required: true + + - type: dropdown + id: is-reproducible + attributes: + label: Can this bug be reproduced with the latest release? + options: + - Option Yes + - Option No + validations: + required: true + + - type: input + id: could-platform + attributes: + label: Cloud Provider/Platform + placeholder: ex. AKS, GKE, Minikube + validations: + required: true + + - type: textarea + id: what-did-you-do + attributes: + label: "What did you do?" + description: "If possible, provide a recipe for reproducing the error." + validations: + required: true + + - type: textarea + id: actual-behavior + attributes: + label: "What did you see happen?" + validations: + required: true + + - type: textarea + id: expected-behavior + attributes: + label: "What did you expect to see?" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/01-feature.yml b/.github/ISSUE_TEMPLATE/01-feature.yml new file mode 100644 index 000000000..2ae9babfa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01-feature.yml @@ -0,0 +1,45 @@ +# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms +# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema +name: Features +description: Suggest an idea for this project. +title: "Title" +labels: + - feature + +body: + - type: markdown + attributes: + value: | + Thanks for helping us improve! 🙏 + Please answer these questions and provide as much information as possible about your problem. + + - type: dropdown + id: is-problem + attributes: + label: Is your feature request related to a problem? + options: + - Option Yes + - Option No + validations: + required: true + + - type: textarea + id: description-solution + attributes: + label: "Describe the solution you'd like" + validations: + required: true + + - type: textarea + id: description-considered + attributes: + label: "Describe alternatives you've considered" + validations: + required: true + + - type: textarea + id: additional + attributes: + label: "Additional" + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/02-question.yml b/.github/ISSUE_TEMPLATE/02-question.yml new file mode 100644 index 000000000..bf5190a69 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02-question.yml @@ -0,0 +1,22 @@ +# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms +# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema +name: Questions +description: I want to ask a question. +title: "Title" +labels: + - question/support + +body: + - type: markdown + attributes: + value: | + Please read the document carefully. Thanks! + https://helm.sh/docs/ + + - type: textarea + id: ask + attributes: + label: "What do you want to ask?" + description: "Please describe the details of your questions." + validations: + required: true diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index 48f48e5b6..000000000 --- a/.github/issue_template.md +++ /dev/null @@ -1,9 +0,0 @@ - - -Output of `helm version`: - -Output of `kubectl version`: - -Cloud Provider/Platform (AKS, GKE, Minikube etc.): - -