From 9dfdf8f5486e67235be22f0b30314f68500e8078 Mon Sep 17 00:00:00 2001 From: Christian Mesh Date: Thu, 14 Dec 2023 20:41:34 -0500 Subject: [PATCH] Fix #105: Add templates for bugs/enhancements in the registry Signed-off-by: Christian Mesh --- .github/ISSUE_TEMPLATE/bug_report.yml | 33 ++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/enhancement.yml | 10 ++++++++ 3 files changed, 44 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/enhancement.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000000..85a76b617c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,33 @@ +name: Bug Report +description: Having trouble with fetching a provider or module from OpenTofu? +labels: ["bug"] +body: + - type: markdown + attributes: + label: Thank you for reporting an issue. + description: Please provide a quick description of the problem you are encountering. + validations: + required: true + + - type: textarea + id: tofu-version + attributes: + label: OpenTofu Version + description: Run `tofu version` to show the version, and paste the result below. If you are not running the latest version of OpenTofu, please try upgrading because your issue may have already been fixed. + render: shell + placeholder: ...output of `tofu version`... + validations: + required: true + + - type: textarea + id: opentofu-config + attributes: + label: OpenTofu Configuration Files + description: + placeholder: + value: | + ```hcl + // Snippet of HCL that can be used to help reproduce this problem + ``` + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..0086358db1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/enhancement.yml b/.github/ISSUE_TEMPLATE/enhancement.yml new file mode 100644 index 0000000000..da0f4167e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/enhancement.yml @@ -0,0 +1,10 @@ +name: Feature Request +description: Want to suggest something that's not yet supported? +labels: ["enhancement"] +body: + - type: markdown + attributes: + label: Description of the feature you are looking for. + description: Please provide a clear description of the feature you are looking for. Please check existing issues to make sure this has not already been suggested. + validations: + required: true