From 87496ae475d740ab7bdbf50768c37312bc9bb0fc Mon Sep 17 00:00:00 2001 From: Ritika Patil Date: Wed, 14 Feb 2024 13:03:51 -0600 Subject: [PATCH] chore: (IAC-1341) Disable Blank GitHub Issues & Add Feature Request Template --- .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/issue--bug-report.md | 84 ------------------- ...-bug-report.yaml => issue--bug-report.yml} | 23 +++-- .../ISSUE_TEMPLATE/issue--feature-request.yml | 44 ++++++++++ 4 files changed, 62 insertions(+), 90 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/issue--bug-report.md rename .github/ISSUE_TEMPLATE/{issue--bug-report.yaml => issue--bug-report.yml} (77%) create mode 100644 .github/ISSUE_TEMPLATE/issue--feature-request.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/issue--bug-report.md b/.github/ISSUE_TEMPLATE/issue--bug-report.md deleted file mode 100644 index bca34409..00000000 --- a/.github/ISSUE_TEMPLATE/issue--bug-report.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -name: 'Bug report' -about: Let us know about an unexpected error or incorrect behavior -labels: bug, new - ---- - - - -### Terraform Version - - - -```bash -... -``` - -### Terraform Variable File - - - -```terraform -... -``` - -### Steps to Reproduce - - - -### Expected Behavior - - - -### Actual Behavior - - - -```bash -... -``` - -### Additional Context - - - -### References - - diff --git a/.github/ISSUE_TEMPLATE/issue--bug-report.yaml b/.github/ISSUE_TEMPLATE/issue--bug-report.yml similarity index 77% rename from .github/ISSUE_TEMPLATE/issue--bug-report.yaml rename to .github/ISSUE_TEMPLATE/issue--bug-report.yml index bfcf531a..8e758013 100644 --- a/.github/ISSUE_TEMPLATE/issue--bug-report.yaml +++ b/.github/ISSUE_TEMPLATE/issue--bug-report.yml @@ -1,4 +1,4 @@ -name: Bug report +name: Bug Report description: | Welcome, Thanks for opening an issue. The more information you provide, the easier it is for us to assess the problem, prioritize, assign, develop, then release a fix. The SAS Viya 4 IaC team. labels: [bug, new] @@ -14,7 +14,7 @@ body: If you are not running the latest version of Terraform we support, please try upgrading because your issue may have already been fixed. - If you're not sure which versions are supported, here's a link : https://github.com/sassoftware/viya4-iac-aws#terraform to help. + If you're not sure which versions are supported, here's a link : https://github.com/sassoftware/viya4-iac-azure?tab=readme-ov-file#terraform-requirements to help. validations: required: false - type: textarea @@ -23,10 +23,22 @@ body: label: Terraform Variable File Details description: | Paste the relevant parts of your Terraform variables here. - + The relevant parts should come from your `terraform.tfvars` file or equivalent and small snippets of the `*.tf` file/files that seem to be causing the error. - - security reasons, do not copy and paste any sensitive information in this issue, like account information and passwords etc. + + For security reasons, do not copy and paste any sensitive information in this issue, like account information and passwords etc. + validations: + required: false + - type: textarea + id: iac_vars + attributes: + label: Ansible Variable File Details + description: | + Paste the relevant parts of your ansible-vars.yaml variables file or variable flag values here. + + The relevant parts should come from your `ansible-vars.yaml` file or equivalent that seem to be causing the error. + + For security reasons, do not copy and paste any sensitive information in this issue, like account information and passwords etc. validations: required: false - type: textarea @@ -75,4 +87,3 @@ body: options: - label: I agree to follow this project's Code of Conduct required: true - diff --git a/.github/ISSUE_TEMPLATE/issue--feature-request.yml b/.github/ISSUE_TEMPLATE/issue--feature-request.yml new file mode 100644 index 00000000..8e0c33ac --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue--feature-request.yml @@ -0,0 +1,44 @@ +name: Feature Request +description: | + Welcome, Thanks for opening a feature request. The more information you provide, the easier it is for us to assess your request, prioritize, assign, develop, and release. The SAS Viya 4 IaC team. +labels: [enhancement, new] +body: + - type: textarea + id: problem + attributes: + label: Is your feature request related to a problem? Please describe. + description: | + A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + validations: + required: true + - type: textarea + id: solution + attributes: + label: Describe the solution you'd like + description: | + A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered + description: | + A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false + - type: textarea + id: additional + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + validations: + required: false + - type: checkboxes + id: tf_terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/sassoftware/viya4-iac-azure/blob/main/CODE_OF_CONDUCT.md) + options: + - label: I agree to follow this project's Code of Conduct + required: true