From a44ffdc20d5a845b9373722397f14c79bd3a8270 Mon Sep 17 00:00:00 2001 From: Denise Yu Date: Sat, 20 Feb 2021 03:51:43 -0500 Subject: [PATCH] Update bug_report.yml (#1858) This fixes the bug report template. --- .github/ISSUE_TEMPLATE/bug_report.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 0e17d5b1d9..e7d5579433 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,9 +1,9 @@ name: Bug Report about: Create a report to help us improve -inputs: +body: - - type: description + - type: markdown attributes: value: | Verify first that your issue is not already reported on [GitHub](https://github.com/ansible-collections/community.general/issues) @@ -13,14 +13,16 @@ inputs: attributes: label: Summary description: 'Explain the problem briefly below' + validations: required: true - type: dropdown attributes: # FIXME: Once GitHub allows defining the default choice, update this label: Issue Type - choices: + options: - Bug Report + validations: required: true - type: textarea @@ -32,12 +34,12 @@ inputs: label: Component Name description: 'List the component, ie `template`, `mysql_users`' + validations: required: true - type: textarea attributes: label: Ansible Version - required: false description: | Paste verbatim output from `ansible --version` between quotes value: | @@ -47,7 +49,6 @@ inputs: - type: textarea attributes: label: Configuration - required: false description: | If this issue has an example piece of YAML that can help to reproduce this problem, please provide it. This can be a piece of YAML from, e.g., an automation, script, scene or configuration. @@ -60,13 +61,11 @@ inputs: attributes: label: OS / Environment description: 'Provide all relevant information below, e.g. target OS versions, network device firmware, etc' - required: false - type: textarea attributes: label: Steps To Reproduce description: 'Describe exactly how to reproduce the problem, using a minimal test-case' - required: false value: | ```paste below @@ -76,13 +75,11 @@ inputs: label: Expected Results description: | Describe what you expected to happen when running the steps above - required: false - type: textarea attributes: label: Actual Results description: 'Describe what actually happened. If possible run with extra verbosity (`ansible-playbook -vvvv`)' - required: false value: | ```paste below