Skip to content

Commit

Permalink
Merge #58925
Browse files Browse the repository at this point in the history
58925: .github: improve issue templates r=knz a=tbg

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.

You can see this in action [here](https://github.com/tbg/cockroach/issues/new/choose).

![image](https://user-images.githubusercontent.com/5076964/104440946-4b7d7a00-5593-11eb-85ec-e55c61312b61.png)

![image](https://user-images.githubusercontent.com/5076964/104440970-559f7880-5593-11eb-9d28-a02b20f36de5.png)

Release note: None

Co-authored-by: Tobias Grieger <[email protected]>
  • Loading branch information
craig[bot] and tbg committed Jan 14, 2021
2 parents f9b44f5 + 8bb2ad4 commit b22e903
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
8 changes: 5 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -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**
Expand Down
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -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"
8 changes: 5 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -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.**
Expand Down
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/performance-inquiry.md
Original file line number Diff line number Diff line change
@@ -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'

---

Expand Down

0 comments on commit b22e903

Please sign in to comment.