From 81cc8437106d0991a7dea789e087142e2d3f5c56 Mon Sep 17 00:00:00 2001 From: Yusuke Kuoka Date: Sun, 3 Apr 2022 07:46:00 +0000 Subject: [PATCH 1/2] Add an issue form for bug report Ref https://github.com/roboll/helmfile/issues/1824 --- .github/ISSUE_TEMPLATE/bug.yml | 57 +++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + 2 files changed, 58 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..42c75f9f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,57 @@ +name: Bug +description: File a bug report +body: + - type: markdown + attributes: + value: | + Before opening a bug report, please search for the behaviour in the existing issues. + + Go ahead to https://github.com/roboll/helmfile/search?q=&type= and fill in the error message you received from Helmfile or the keywords you think appropriate. + - type: markdown + attribuets: + value: Thank you for taking your time to file a bug report! To confirm it's a bug, we need some information to reproduce it. + - type: input + id: os + attributes: + label: Operating system + description: "Which operating system do you use? Please provide the version as well." + placeholder: "ex. Ubuntu 20.04.4 LTS" + validations: + required: true + - type: input + id: helmfile + attributes: + label: Helmfile Version + description: "Please provide the version number of Helmfile you used. If it isn't the latest, please upgrade first." + placeholder: "Run `helmfile version` to print it." + validations: + required: true + - type: input + id: helm + attributes: + label: Helm Version + description: "Please provide the version number of Helm you used. If it isn't the latest, please upgrade first." + placeholder: "Run `helm version` to print it." + validations: + required: true + - type: textarea + id: bug-description + attributes: + label: Bug description + description: What happened? + validations: + required: true + - type: input + id: repo + attributes: + label: Steps to reproduce + description: Please provide the URL to a GitHub repository that contains a helmfile.yaml, other companion files, and a README.md with the steps to reproduce the bug. + validations: + required: true + - type: input + id: discussion + attributes: + label: Relevant discussion + description: Please provide the URL to a relevant GitHub Discussion. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false From 4567a643a595dd368f03f7c3751204cd3ac6ddfd Mon Sep 17 00:00:00 2001 From: Yusuke Kuoka Date: Sun, 3 Apr 2022 07:58:13 +0000 Subject: [PATCH 2/2] Skip CI for changes in issue templates --- .github/workflows/canary_images.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/canary_images.yaml b/.github/workflows/canary_images.yaml index 89dad365..a7bdf921 100644 --- a/.github/workflows/canary_images.yaml +++ b/.github/workflows/canary_images.yaml @@ -7,6 +7,7 @@ on: paths-ignore: - .github/workflows/ci.yml - .github/workflows/lock.yml + - ".github/ISSUE_TEMPLATE/**" - "docs/**" - "hack/**" - "**.md"