Skip to content

Commit 6f964b1

Browse files
authored
Update GitHub issue, discussion templates (#445)
* Update GitHub issue templates to match axum's * Use axum's Q&A discussion template
1 parent 71ca44c commit 6f964b1

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

.github/DISCUSSION_TEMPLATE/q-a.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
body:
2+
- type: textarea
3+
attributes:
4+
label: Summary
5+
description: 'Your question:'
6+
validations:
7+
required: true
8+
- type: input
9+
attributes:
10+
label: tower-http version
11+
description: 'Please look it up in `Cargo.lock`, or as described below'
12+
validations:
13+
required: true
14+
- type: markdown
15+
attributes:
16+
value: |
17+
> If you have `jq` installed, you can look up the version by running
18+
>
19+
> ```bash
20+
> cargo metadata --format-version=1 | jq -r '.packages[] | select(.name == "tower-http") | .version'
21+
> ```

.github/ISSUE_TEMPLATE/bug_report.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ about: If something isn't working as expected 🤔.
44

55
---
66

7-
## Bug Report
8-
97
<!--
108
Thank you for reporting an issue.
119
1210
Please fill in as much of the template below as you're able.
1311
-->
1412

13+
- [ ] I have looked for existing issues (including closed) about this
14+
15+
## Bug Report
16+
1517
### Version
1618

1719
<!--

.github/ISSUE_TEMPLATE/feature_request.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ about: I have a suggestion (and may want to implement it 🙂)!
44

55
---
66

7+
- [ ] I have looked for existing issues (including closed) about this
8+
79
## Feature Request
810

911
### Motivation

0 commit comments

Comments
 (0)