From 04286e8c3b1a815488c73c011988eb4fa985202b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 30 Nov 2021 14:42:37 -0700 Subject: [PATCH] github issues: add a honeypot template for questions --- .github/ISSUE_TEMPLATE/bug.yml | 10 +++------- .github/ISSUE_TEMPLATE/question.yml | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/question.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index c0ed519648..31fb479b56 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -6,13 +6,9 @@ body: attributes: value: | A bug is when something works differently than it is expected to. - - type: checkboxes - id: searched - attributes: - label: Remember to search before filing a new report - options: - - label: I searched for this bug and did not find it in the issue tracker, and furthermore, the title I used above will make this new bug report turn up in the search results for my query. - required: true + ## Remember to search before filing a new report + Please search for this bug in the issue tracker, and use a bug report title that + would have made your bug report turn up in the search results for your search query. - type: input id: version attributes: diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000000..1e57fc76d4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,20 @@ +name: Question +description: Ask a Zig-related question +labels: ["question"] +body: + - type: markdown + attributes: + value: | + Welcome! There are a bunch of great places to ask Zig-related questions. + Please take a look at + [The Community Wiki Page](https://github.com/ziglang/zig/wiki/Community) and + find a comfy place to ask questions. You will find plenty of helpful people in + these spaces. However, this issue tracker is not for questions. It is for + more actionable items such as bug reports and enhancements. + - type: checkboxes + id: trash + attributes: + label: Please do not open a question issue on the bug tracker + options: + - label: "I understand, thank you. I will take my question to one of the community spaces instead" + required: true