From f2bbec08a4e1c892cfe47cc3ea68c5cd88d32a52 Mon Sep 17 00:00:00 2001 From: Jared Holgate Date: Tue, 15 Oct 2024 17:03:54 +0100 Subject: [PATCH] chore: issue template improvement (#218) # Pull Request ## Description Update the issue templates to make it clear which starter module they are for. ## License By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license. --- .github/ISSUE_TEMPLATE/bug_report.yml | 45 +++++++++++++++++----- .github/ISSUE_TEMPLATE/feature_request.yml | 21 +++++++++- 2 files changed, 55 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index da175d30..f1d47511 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -18,26 +18,51 @@ body: required: true - type: dropdown attributes: - label: Infrastrcuture as Code Type? (Required) + label: Infrastructure as Code Type? (Required) description: Are you using Bicep or Terraform? multiple: false options: - bicep - terraform + - both + - not relevant validations: required: true - - type: textarea - id: versions + - type: input attributes: - label: Module Versions (Required) - description: Please provide relevant module versions. - value: | - ALZ PowerShell Module: x.x.x - Accelerator Bootstrap Modules: x.x.x - Terraform Starter Modules: x.x.x - Bicep Starter Modules: x.x.x + label: PowerShell Module Version (Optional) + description: Please provide the version of the PowerShell Module you are using if relevant. + validations: + required: false + - type: input + attributes: + label: Bootstrap Module Version (Optional) + description: Please provide the version of the Bootstap Module you are using if relevant. + validations: + required: false + - type: dropdown + attributes: + label: Starter Module? (Required) + description: Which starter module are you using? + multiple: false + options: + - bicep - complete + - terraform - complete_multi_region + - terraform - microsoft_cloud_for_sovereignty + - terraform - microsoft_cloud_for_financial_services + - terraform - complete + - terraform - hubnetworking + - terraform - basic + - other + - not relevant validations: required: true + - type: input + attributes: + label: Starter Module Version (Optional) + description: Please provide the version of the Starter Module you are using if relevant. + validations: + required: false - type: textarea id: inputs attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index bd27e5f3..2f3a74ed 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -17,12 +17,31 @@ body: required: true - type: dropdown attributes: - label: Infrastrcuture as Code Type? (Required) + label: Infrastructure as Code Type? (Required) description: Are you using Bicep or Terraform? multiple: false options: - bicep - terraform + - both + - not relevant + validations: + required: true + - type: dropdown + attributes: + label: Starter Module? (Required) + description: Which starter module are you using? + multiple: false + options: + - bicep - complete + - terraform - complete_multi_region + - terraform - microsoft_cloud_for_sovereignty + - terraform - microsoft_cloud_for_financial_services + - terraform - complete + - terraform - hubnetworking + - terraform - basic + - other + - not relevant validations: required: true - type: textarea