aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-11-30 14:42:37 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-11-30 14:42:58 -0700
commit04286e8c3b1a815488c73c011988eb4fa985202b (patch)
tree26683eb070f0b0fb57c670b24e4baec86624ba85 /.github
parent8635275202d4c6404a6e795f186e9aa4b260f869 (diff)
downloadzig-04286e8c3b1a815488c73c011988eb4fa985202b.tar.gz
zig-04286e8c3b1a815488c73c011988eb4fa985202b.zip
github issues: add a honeypot template for questions
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/bug.yml10
-rw-r--r--.github/ISSUE_TEMPLATE/question.yml20
2 files changed, 23 insertions, 7 deletions
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