From 5d0bc04169c96d91ec193f9fcc7a3ddc6bdd4f11 Mon Sep 17 00:00:00 2001 From: Mark Gray Date: Wed, 13 Apr 2022 13:32:31 -0700 Subject: [PATCH] added bug templates for azapi, aztfy, examples and feature template --- .github/ISSUE_TEMPLATE/azapi_bug.yml | 71 ++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/aztfy_bug.yml | 44 ++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 3 +- .github/ISSUE_TEMPLATE/example_bug.yml | 58 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature.yml | 48 +++++++++++++++++ .github/ISSUE_TEMPLATE/module_bug.yml | 9 ++-- 6 files changed, 226 insertions(+), 7 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/azapi_bug.yml create mode 100644 .github/ISSUE_TEMPLATE/aztfy_bug.yml create mode 100644 .github/ISSUE_TEMPLATE/example_bug.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml diff --git a/.github/ISSUE_TEMPLATE/azapi_bug.yml b/.github/ISSUE_TEMPLATE/azapi_bug.yml new file mode 100644 index 00000000..7937f808 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/azapi_bug.yml @@ -0,0 +1,71 @@ +name: 'AzAPI Provider Bug Report' +description: File a bug/issue for the AzAPI Terraform Provider +title: "" +labels: [bug, azapi] +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true +- type: input + attributes: + label: Terraform Version + description: | + What version of Terraform were you using when you encountered this issue? + Please include operating system when applicable. + + `terraform --version` + placeholder: 1.0.0 + validations: + required: true +- type: input + attributes: + label: Provider Version + description: | + What version of the AzAPI provider were you using when you encountered this issue? + placeholder: 0.1.0 + validations: + required: true +- type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. Include Error output where applicable. + validations: + required: true +- type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + validations: + required: true +- type: textarea + attributes: + label: Steps To Reproduce + description: | + Steps to reproduce the behavior. + + `terraform apply` + placeholder: | + 1. Run '...' + 2. See error... + validations: + required: false +- type: textarea + attributes: + label: Terraform configuration + description: Please provide the minimum Terraform configuration that is resulting in the bug / issue. + render: terraform + validations: + required: true +- type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/aztfy_bug.yml b/.github/ISSUE_TEMPLATE/aztfy_bug.yml new file mode 100644 index 00000000..dac0f9a5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/aztfy_bug.yml @@ -0,0 +1,44 @@ +name: 'Azure Terrafy Bug Report' +description: File a bug/issue for a Azure Terrafy (aztfy) +title: "<title>" +labels: [bug, aztfy] +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true +- type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. Include error output where applicable. + validations: + required: true +- type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + validations: + required: true +- type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. In this environment... + 2. With this config... + 3. Run '...' + 4. See error... + validations: + required: false +- type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index c5812416..f02e79ee 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,6 +1,5 @@ -blank_issues_enabled: false +blank_issues_enabled: true contact_links: - name: AzureRM provider issues and Feature requests url: https://github.com/hashicorp/terraform-provider-azurerm/issues about: Please ask questions and report issues with the AzureRM provider and related resources here. - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/example_bug.yml b/.github/ISSUE_TEMPLATE/example_bug.yml new file mode 100644 index 00000000..d8e843a3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/example_bug.yml @@ -0,0 +1,58 @@ +name: 'Azure Terraform example Bug Report' +description: File a bug/issue for a example (Quickstart, samples, etc.) +title: "<title>" +labels: [bug, example] +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true +- type: input + attributes: + label: Example Name + description: The name of the example where you found the bug. + validations: + required: true +- type: input + attributes: + label: Terraform Version + description: | + What version of Terraform were you using when you encountered this issue? + + `terraform --version + placeholder: 1.0.0 + validations: + required: true +- type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + validations: + required: true +- type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + validations: + required: true +- type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. Run '...' + 2. See error... + validations: + required: false +- type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..d570878d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,48 @@ +name: 'Azure Terraform feature Ask' +description: File a bug/issue for a verified module +title: "<title>" +labels: [enhancement] +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true +- type: dropdown + attributes: + label: Where would you like this feature added? + description: Let us know what product or area you would like to see this feature added to. + multiple: false + options: + - "Verified Modules" + - "AzAPI Provider" + - "Azure Terrafy" + - "Examples (Quickstart, Samples, etc.)" + - "Other/Unknown" + validations: + required: true +- type: textarea + attributes: + label: Is this feature ask due to a problem that you are encountering? + description: If so, please provide a clear and concise description of what the problem is. + placeholder: I'm always frustrated when [...] + validations: + required: false +- type: textarea + attributes: + label: Describe potential solutions. + description: Please provide a clear and concise description of what you want to happen. + placeholder: Add a way for me to [...] + validations: + required: true +- type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the feature you are requesting! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/module_bug.yml b/.github/ISSUE_TEMPLATE/module_bug.yml index 9c01b681..14febc4e 100644 --- a/.github/ISSUE_TEMPLATE/module_bug.yml +++ b/.github/ISSUE_TEMPLATE/module_bug.yml @@ -49,7 +49,8 @@ body: - type: textarea attributes: label: Terraform configuration - description: Please provide the Terraform configuration that is resulting in the bug / ssue. + description: Please provide the minimum Terraform configuration that is resulting in the bug / issue. + render: terraform validations: required: true - type: textarea @@ -57,10 +58,8 @@ body: label: Steps To Reproduce description: Steps to reproduce the behavior. placeholder: | - 1. In this environment... - 2. With this config... - 3. Run '...' - 4. See error... + 1. Run '...' + 2. See error... validations: required: false - type: textarea