diff --git a/.github/DISCUSSION_TEMPLATE/q-a.yml b/.github/DISCUSSION_TEMPLATE/q-a.yml new file mode 100644 index 00000000..5db14a58 --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/q-a.yml @@ -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