From 811f0e6937829c939069ba2820033348214d1cec Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Fri, 11 Dec 2020 17:33:03 +0100 Subject: [PATCH] Add issue and PR templates Signed-off-by: Mark Sagi-Kazar --- .github/{workflows => }/.editorconfig | 0 .github/ISSUE_TEMPLATE/bug_report.md | 33 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 9 +++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++++ .github/PULL_REQUEST_TEMPLATES.md | 20 ++++++++++++++ 5 files changed, 82 insertions(+) rename .github/{workflows => }/.editorconfig (100%) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/PULL_REQUEST_TEMPLATES.md diff --git a/.github/workflows/.editorconfig b/.github/.editorconfig similarity index 100% rename from .github/workflows/.editorconfig rename to .github/.editorconfig diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..c05426d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,33 @@ +--- +name: 🐛 Bug report +about: Report a bug to help us improve Viper +--- + + +**Expected behavior (what you expected to happen)**: + +**Actual behavior (what actually happened)**: + +**Repl.it link**: + + +**Code reproducing the issue**: + + +```go + +``` + + + +**Environment**: +- Viper version: +- Config source: +- File format: + +**Anything else we should know?**: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..97e9bb8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,9 @@ +blank_issues_enabled: false +contact_links: + - name: 📓 Reference + url: https://pkg.go.dev/mod/github.com/spf13/viper + about: Check the Go code reference + + - name: 💬 Slack channel + url: https://gophers.slack.com/messages/viper + about: Please ask and answer questions here diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..52c9820 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: 🚀 Feature request +about: Suggest an idea for Viper +--- + + +**Is your feature request related to a problem? Please describe.** + + +**Describe the solution you'd like to see** + + +**Describe alternatives you've considered** + + +**Additional context** + diff --git a/.github/PULL_REQUEST_TEMPLATES.md b/.github/PULL_REQUEST_TEMPLATES.md new file mode 100644 index 0000000..fb6ea68 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATES.md @@ -0,0 +1,20 @@ + + +**Overview**: + + +**What problem does it solve?**: + + +**Special notes for a reviewer**: