github issues: add a honeypot template for questions

This commit is contained in:
Andrew Kelley 2021-11-30 14:42:37 -07:00
parent 8635275202
commit 04286e8c3b
2 changed files with 23 additions and 7 deletions

View File

@ -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:

20
.github/ISSUE_TEMPLATE/question.yml vendored Normal file
View File

@ -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