From 388f3e3a959d4a6e02396366c1b606db7a7f6e87 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 7 Sep 2023 14:17:44 +0100 Subject: [PATCH] Add template for new bug --- .github/ISSUE_TEMPLATE/bug.yml | 58 ++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 44 --------------------- 2 files changed, 58 insertions(+), 44 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000000..3bdfff7766 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,58 @@ +--- +name: Bug Report +description: Please test the master branch before raising bugs. +# title: "[Bug]: " +labels: ["new"] +projects: ["ansible/86"] +# assignees: +# - octocat +body: + - type: checkboxes + id: checklist + attributes: + label: version + description: Create new issues only if all checks were made + options: + - label: I checked that is not a duplicate + required: true + - label: I was able to reproduce it with code from main branch (latest unreleased version) + required: true + - label: I include a minimal example for reproducing the bug + required: true + - label: The bug is not trivial, as for those a direct pull-request is preferred + required: true + - label: Running `pip check` does not report any conflicts + required: true + - label: I was able to reproduce the issue on a different machine + required: true + + - type: markdown + attributes: + value: > + Also check [FAQ](https://ansible.readthedocs.io/projects/molecule/faq/) and the + [discussions forum](https://github.com/ansible/molecule/discussions) before creating a new issue. + + - type: textarea + id: environment + attributes: + label: Desired Behavior + description: > + Include at least output of `ansible --version && molecule --version` and + anything else that might be relevant, such operating system, if `pip check` + + - type: textarea + id: desired_behavior + attributes: + label: Desired Behavior + description: > + Please give some details of the feature being requested or what + should happen if providing a bug report. + + - type: textarea + id: actual_behavior + attributes: + label: Actual Behaviour + description: > + Please give some details of what is actually happening. + Include a [minimum complete verifiable example](https://stackoverflow.com/help/mcve) with + output of running `molecule --debug`. diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index e3c5307ddc..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -name: Bug report -about: Please test the main branch before raising bugs. -labels: bug ---- - - - - - - -# Issue Type - -- Bug report - -# Molecule and Ansible details - -``` -ansible --version && molecule --version -``` - -Molecule installation method (one of): - -- source -- pip - -Ansible installation method (one of): - -- source -- pip -- OS package - -Detail any linters or test runners used: - -# Desired Behavior - -Please give some details of the feature being requested or what -should happen if providing a bug report. - -# Actual Behaviour - -Please give some details of what is actually happening. -Include a [minimum complete verifiable example](https://stackoverflow.com/help/mcve) with -output of running `molecule --debug`.