From 8bb2ad49d85112be3837aa863b6e9cc99395e11d Mon Sep 17 00:00:00 2001 From: Tobias Grieger Date: Wed, 13 Jan 2021 11:30:49 +0100 Subject: [PATCH] .github: improve issue templates Disable the blank issue template, add C-{bug,enhancement,question} labels depending on the issue type, and suggest the community forum and enterprise support as alternatives to consult. Release note: None --- .github/ISSUE_TEMPLATE/bug_report.md | 8 +++++--- .github/ISSUE_TEMPLATE/config.yml | 8 ++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 8 +++++--- .github/ISSUE_TEMPLATE/performance-inquiry.md | 7 ++++--- 4 files changed, 22 insertions(+), 9 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d80c49ce508d..8550268b7629 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,7 +1,9 @@ --- -name: Bug or crash report -about: Report unexpected behavior to help us improve - +name: 'Bug or crash report' +title: '' +about: 'Report unexpected behavior to help us improve' +labels: 'C-bug' +assignees: '' --- **Describe the problem** diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000000..66989abe345a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: CockroachDB Community Forum + url: https://forum.cockroachlabs.com/ + about: "For general questions about CockroachDB" + - name: Enterprise Support + url: https://support.cockroachlabs.com + about: "Enterprise Support" diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 066b2d920a28..529ea6849873 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,7 +1,9 @@ --- -name: Feature request -about: Suggest an idea for this project - +name: 'Feature request' +title: '' +about: 'Suggest an idea for this project' +labels: 'C-enhancement' +assignees: '' --- **Is your feature request related to a problem? Please describe.** diff --git a/.github/ISSUE_TEMPLATE/performance-inquiry.md b/.github/ISSUE_TEMPLATE/performance-inquiry.md index 7390f2d11829..2e69abaa392a 100644 --- a/.github/ISSUE_TEMPLATE/performance-inquiry.md +++ b/.github/ISSUE_TEMPLATE/performance-inquiry.md @@ -1,7 +1,8 @@ --- -name: Performance inquiry -about: You have a question about CockroachDB's performance and it is not a bug or - a feature request +name: 'Performance inquiry' +title: '' +about: 'You have a question about CockroachDB's performance and it is not a bug or a feature request' +labels: 'C-question' ---