From 9a931605dd1c4154fc08d0f0343b4076609c3f34 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 24 Nov 2023 11:57:17 +0100 Subject: [PATCH] GitHub: Add a Q&A discussion template (#2340) --- .github/DISCUSSION_TEMPLATE/q-a.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/DISCUSSION_TEMPLATE/q-a.yml 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