From 77672c8ce9a2b5750337df94a4c3a2a43f126dfd Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Tue, 20 Jul 2021 14:12:50 +0200 Subject: [PATCH 1/4] add issue forms Signed-off-by: Mark Sagi-Kazar --- .github/ISSUE_TEMPLATE/bug_report.md | 14 -------------- .github/ISSUE_TEMPLATE/bug_report.yaml | 18 ++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 10 ---------- .github/ISSUE_TEMPLATE/feature_request.yaml | 8 ++++++++ 4 files changed, 26 insertions(+), 24 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml 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..c94bd7e4f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,18 @@ +name: 🐛 Bug report +description: Report a bug to help us improve +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/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..14b0cfbde --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,8 @@ +name: 🚀 Feature request +description: Suggest an idea for this project +body: +- type: textarea + attributes: + label: What would you like? + validations: + required: true From a8893bc310ec2bb7e10b29fb54ed213faa91ff4b Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Tue, 20 Jul 2021 14:17:52 +0200 Subject: [PATCH 2/4] add issue configuration Signed-off-by: Mark Sagi-Kazar --- .github/ISSUE_TEMPLATE/config.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..e057c0698 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,17 @@ +blank_issues_enabled: false +contact_links: + - name: ❓ Ask a question + url: https://github.com/go-kit/kit/discussions/new?category=q-a + about: Ask and discuss questions with other community members + + - name: 🌐 Website + url: https://gokit.io/ + about: Check the website for details + + - name: 📓 Reference + url: https://pkg.go.dev/mod/github.com/go-kit/kit + about: Check the Go code reference + + - name: 💬 Slack channel + url: https://gophers.slack.com/messages/go-kit + about: Please ask and answer questions here From 113fdc700b6f80ecf653b49122bc4e7336ff0bf0 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:41:19 +0200 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: Peter Bourgon --- .github/ISSUE_TEMPLATE/bug_report.yaml | 4 ++-- .github/ISSUE_TEMPLATE/config.yml | 14 +++++--------- .github/ISSUE_TEMPLATE/feature_request.yaml | 4 ++-- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index c94bd7e4f..9c29ec7f2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,5 +1,5 @@ -name: 🐛 Bug report -description: Report a bug to help us improve +name: Bug report +description: Report a bug body: - type: textarea attributes: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index e057c0698..dee52e3b2 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,17 +1,13 @@ blank_issues_enabled: false contact_links: - - name: ❓ Ask a question + - name: Ask a question url: https://github.com/go-kit/kit/discussions/new?category=q-a - about: Ask and discuss questions with other community members - - name: 🌐 Website + - name: Website url: https://gokit.io/ - about: Check the website for details - - name: 📓 Reference - url: https://pkg.go.dev/mod/github.com/go-kit/kit - about: Check the Go code reference + - name: Reference + url: https://pkg.go.dev/github.com/go-kit/kit - - name: 💬 Slack channel + - name: Slack channel url: https://gophers.slack.com/messages/go-kit - about: Please ask and answer questions here diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index 14b0cfbde..a28edd669 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -1,5 +1,5 @@ -name: 🚀 Feature request -description: Suggest an idea for this project +name: Feature request +description: Suggest new functionality or an enhancement body: - type: textarea attributes: From 98eabe7e126ec161032de5914a3ba6cd16d2aab5 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:41:55 +0200 Subject: [PATCH 4/4] Add back missing bug label --- .github/ISSUE_TEMPLATE/bug_report.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 9c29ec7f2..fab4da82c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,5 +1,6 @@ name: Bug report description: Report a bug +labels: [bug] body: - type: textarea attributes: