From 925d63f634141bbd5f35fbdef89bccc32b44831b Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sat, 27 Aug 2022 10:57:16 +0200 Subject: [PATCH] Use an issue form --- .github/ISSUE_TEMPLATE/bug_report.md | 21 ------------ .github/ISSUE_TEMPLATE/bug_report.yml | 46 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 21 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index b015cda..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..77e1cb8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,46 @@ +name: Bug report +description: Create a report to help us improve +body: +- type: markdown + attributes: + value: Please note we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information. +- type: checkboxes + attributes: + label: Verification + description: Ensure the following before filing this issue. + options: + - label: | + I tried with the latest version with `- uses: ruby/setup-ruby@v1` (see [Versioning policy](https://github.com/ruby/setup-ruby/blob/master/README.md#versioning)) + required: true + - label: | + I tried to reproduce the issue locally by following the workflow steps (including all commands done by ruby/setup-ruby, except for `Downloading Ruby` & `Extracting Ruby`). + If it does reproduce locally, it's not a ruby/setup-ruby issue. + required: true + # - label: | + # If the issue happens on JRuby or TruffleRuby, and does not happen on CRuby (please check), file an issue there instead. It's very unlikely ruby/setup-ruby is the cause. + # required: true +- type: dropdown + attributes: + label: Version + description: Are you running on a GitHub-hosted runners or self-hosted runners? + options: + - GitHub-hosted runners + - self-hosted runners + validations: + required: true +- type: textarea + attributes: + render: yaml + label: The workflow code or a link to to the workflow file + validations: + required: true +- type: input + attributes: + label: Link to the log of a failed workflow job, or to a gist with the output + validations: + required: true +- type: textarea + attributes: + label: the command and output of the step failing + validations: + required: true