From 79e8c20b9d93220d0c0ba3c51d5265c08f33767d Mon Sep 17 00:00:00 2001 From: Jyotirmoy Roy Date: Thu, 27 Jul 2023 01:02:46 +0530 Subject: [PATCH] fix(.github): adds github workflows for ISSUE TEMPLATES for bug addition, documentation add, feature request and security (#175) * fix(.github): adds GitHub workflows for ISSUE TEMPLATES for bug addition, documentation add, feature request and security * Delete docs.yml * Update bug.yml * Update feature_request.yml * Update other.yml * Update bug.yml * Update feature_request.yml * Resolved the icon issues Signed-off-by: Jyotirmoy Roy --- .github/ISSUE_TEMPLATE/bug.yaml | 2 +- .github/ISSUE_TEMPLATE/doc.yml | 2 +- .github/ISSUE_TEMPLATE/feature.yml | 2 +- .github/ISSUE_TEMPLATE/other.yml | 2 +- .github/workflows/ISSUE_TEMPLATE/bug.yml | 54 +++++++++++++++++++ .../ISSUE_TEMPLATE/feature_request.yml | 54 +++++++++++++++++++ .github/workflows/ISSUE_TEMPLATE/other.yml | 49 +++++++++++++++++ SECURITY.md | 5 ++ 8 files changed, 166 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/workflows/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/workflows/ISSUE_TEMPLATE/other.yml create mode 100644 SECURITY.md diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml index 270fe46..ab7a0d4 100644 --- a/.github/ISSUE_TEMPLATE/bug.yaml +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -1,4 +1,4 @@ -name: 🐛 Bug +name: Bug description: Report an issue to help improve the project. title: "[BUG] " labels: ["bug"] diff --git a/.github/ISSUE_TEMPLATE/doc.yml b/.github/ISSUE_TEMPLATE/doc.yml index 15aa650..fbefcb4 100644 --- a/.github/ISSUE_TEMPLATE/doc.yml +++ b/.github/ISSUE_TEMPLATE/doc.yml @@ -1,4 +1,4 @@ -name: 📄 Documentation issue +name: Documentation issue description: Found an issue in the documentation? You can use this one! title: "[DOCS] " labels: ["documentation"] diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index b11e26c..83adf7d 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -1,4 +1,4 @@ -name: 💡 General Feature Request +name: General Feature Request description: Have a new idea/feature? Please suggest! title: "[FEATURE] " labels: ["feature"] diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml index 4d4ae01..2e742f7 100644 --- a/.github/ISSUE_TEMPLATE/other.yml +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -1,4 +1,4 @@ -name: ❗ Other +name: Other description: Use this for any other issues. Please do NOT create blank issues title: "[OTHER] " labels: ["other"] diff --git a/.github/workflows/ISSUE_TEMPLATE/bug.yml b/.github/workflows/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..b3cec03 --- /dev/null +++ b/.github/workflows/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,54 @@ +name: Bug +description: Report an issue to help improve the project. +title: "[BUG] write a small description here" +labels: + [ + "goal: fix", + "status : under development", + " priority: high", + ] +body: + - type: textarea + id: description + attributes: + label: Description + description: A brief description of the question or issue, also include what you tried and what didn't work + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: Please add screenshots if applicable + validations: + required: false + + - type: dropdown + id: browser + attributes: + label: "Browser " + description: "What browser are you using ?" + options: + - Google Chrome + - Brave + - Microsoft Edge + - Mozilla Firefox + - Safari + - Opera + - Other + validations: + required: true + + - type: checkboxes + id: no-duplicate-issues + attributes: + label: "Checklist " + options: + - label: "I checked and didn't find similar issue" + required: true + + - label: "I have read the [Contributing Guidelines](https://github.com/hashicorp/terraform/blob/main/.github/CONTRIBUTING.md)" + required: true + + - label: "I am willing to work on this issue (blank for no)" + required: false diff --git a/.github/workflows/ISSUE_TEMPLATE/feature_request.yml b/.github/workflows/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..e7bac3d --- /dev/null +++ b/.github/workflows/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,54 @@ +name: Feature Request +description: Have a new idea/feature for Terraform Provider? Please suggest! +title: "[FEATURE] write a small description here" +labels: + [ + " goal: addition", + " status : under development", + " priority: medium", + ] +body: + - type: textarea + id: description + attributes: + label: Description + description: A brief description of the enhancement you propose, also include what you tried and what worked. + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: Please add screenshots if applicable + validations: + required: false + + - type: dropdown + id: browser + attributes: + label: "Browser" + description: "What browser are you using ?" + options: + - Google Chrome + - Brave + - Microsoft Edge + - Mozilla Firefox + - Safari + - Opera + - Other + validations: + required: true + + - type: checkboxes + id: no-duplicate-issues + attributes: + label: "Checklist" + options: + - label: "I checked and didn't find similar issue" + required: true + + - label: "I have read the [Contributing Guidelines](https://github.com/hashicorp/terraform/blob/main/.github/CONTRIBUTING.md)" + required: true + + - label: "I am willing to work on this issue (blank for no)" + required: false diff --git a/.github/workflows/ISSUE_TEMPLATE/other.yml b/.github/workflows/ISSUE_TEMPLATE/other.yml new file mode 100644 index 0000000..0f76bc1 --- /dev/null +++ b/.github/workflows/ISSUE_TEMPLATE/other.yml @@ -0,0 +1,49 @@ +name: Other +description: Use this for any other issues. Please do NOT create blank issues +title: "[OTHER]" +labels: + [ + " goal: improvement", + " status : under development", + " priority: medium", + ] +body: + - type: markdown + attributes: + value: "# Other issue" + - type: textarea + id: issuedescription + attributes: + label: What would you like to share? + description: Provide a clear and concise explanation of your issue. + validations: + required: true + - type: dropdown + id: browser + attributes: + label: " Browser" + description: "What browser are you using ?" + options: + - Google Chrome + - Brave + - Microsoft Edge + - Mozilla Firefox + - Safari + - Opera + - Other + validations: + required: true + + - type: checkboxes + id: no-duplicate-issues + attributes: + label: "Checklist " + options: + - label: "I checked and didn't find similar issue" + required: true + + - label: "I have read the [Contributing Guidelines](https://github.com/hashicorp/terraform/blob/main/.github/CONTRIBUTING.md)" + required: true + + - label: "I am willing to work on this issue (blank for no)" + required: true diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..3d4ab10 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,5 @@ +# Security Policy + +## Reporting a Vulnerability + +For security issues, kindly email us at hello@civo.com instead of posting a public issue in GitHub. \ No newline at end of file