GitHub: Add a Q&A discussion template (#2340)

This commit is contained in:
Jonas Platte 2023-11-24 11:57:17 +01:00 committed by GitHub
parent 20862d42f5
commit 9a931605dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
.github/DISCUSSION_TEMPLATE/q-a.yml vendored Normal file
View file

@ -0,0 +1,23 @@
title: 'Q&A'
body:
- type: textarea
attributes:
label: Summary
description: 'Your question:'
validations:
required: true
- type: input
attributes:
label: axum version
description: 'Please look it up in `Cargo.lock`'
- type: markdown
attributes:
value: |
> [!NOTE]
> If you have `jq` installed, you can look up the version by running
>
> ```bash
> cargo metadata --format-version=1 | jq -r '.packages[] | select(.name == "axum") | .version'
> ```
validations:
required: true