Commit 04286e8c3b

Andrew Kelley <andrew@ziglang.org>
2021-11-30 22:42:37
github issues: add a honeypot template for questions
1 parent 8635275
Changed files (2)
.github
ISSUE_TEMPLATE
.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:
.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