From 8b2c52a8287a9fedfd5e4c2d4d6faa70b3d69aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rk=20S=C3=A1gi-Kaz=C3=A1r?= Date: Tue, 20 Jul 2021 18:48:04 +0200 Subject: [PATCH] Issue forms (#1166) * add issue forms Signed-off-by: Mark Sagi-Kazar * add issue configuration Signed-off-by: Mark Sagi-Kazar * Apply suggestions from code review Co-authored-by: Peter Bourgon * Add back missing bug label Co-authored-by: Peter Bourgon --- .github/ISSUE_TEMPLATE/bug_report.md | 14 -------------- .github/ISSUE_TEMPLATE/bug_report.yaml | 19 +++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 13 +++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 10 ---------- .github/ISSUE_TEMPLATE/feature_request.yaml | 8 ++++++++ 5 files changed, 40 insertions(+), 24 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 0c2416c52..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- - -**What did you do?** - -**What did you expect?** - -**What happened instead?** diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 000000000..fab4da82c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,19 @@ +name: Bug report +description: Report a bug +labels: [bug] +body: +- type: textarea + attributes: + label: What did you do? + validations: + required: true +- type: textarea + attributes: + label: What did you expect? + validations: + required: true +- type: textarea + attributes: + label: What happened instead? + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..dee52e3b2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,13 @@ +blank_issues_enabled: false +contact_links: + - name: Ask a question + url: https://github.com/go-kit/kit/discussions/new?category=q-a + + - name: Website + url: https://gokit.io/ + + - name: Reference + url: https://pkg.go.dev/github.com/go-kit/kit + + - name: Slack channel + url: https://gophers.slack.com/messages/go-kit diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 3d7352686..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -**What would you like?** diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 000000000..a28edd669 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,8 @@ +name: Feature request +description: Suggest new functionality or an enhancement +body: +- type: textarea + attributes: + label: What would you like? + validations: + required: true