Skip to content

Commit

Permalink
Update GitHub issue, discussion templates (#445)
Browse files Browse the repository at this point in the history
* Update GitHub issue templates to match axum's
* Use axum's Q&A discussion template
  • Loading branch information
jplatte committed Nov 27, 2023
1 parent 71ca44c commit 6f964b1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/DISCUSSION_TEMPLATE/q-a.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
body:
- type: textarea
attributes:
label: Summary
description: 'Your question:'
validations:
required: true
- type: input
attributes:
label: tower-http version
description: 'Please look it up in `Cargo.lock`, or as described below'
validations:
required: true
- type: markdown
attributes:
value: |
> If you have `jq` installed, you can look up the version by running
>
> ```bash
> cargo metadata --format-version=1 | jq -r '.packages[] | select(.name == "tower-http") | .version'
> ```
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ about: If something isn't working as expected 🤔.

---

## Bug Report

<!--
Thank you for reporting an issue.
Please fill in as much of the template below as you're able.
-->

- [ ] I have looked for existing issues (including closed) about this

## Bug Report

### Version

<!--
Expand Down
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ about: I have a suggestion (and may want to implement it 🙂)!

---

- [ ] I have looked for existing issues (including closed) about this

## Feature Request

### Motivation
Expand Down

0 comments on commit 6f964b1

Please sign in to comment.