/ .github / ISSUE_TEMPLATE / question.yml
question.yml
 1  name: "❓ 问题讨论 (Question & Discussion)"
 2  description: "提出问题、寻求帮助或发起一个讨论"
 3  labels: ["question", "discussion"]
 4  body:
 5    - type: markdown
 6      attributes:
 7        value: |
 8          ### 📝 提问前自查 (Self-check Before Asking)
 9    - type: checkboxes
10      id: self-check
11      attributes:
12        label: "提问前自查"
13        description: "请在提问前确认以下几点"
14        options:
15          - label: "我已经搜索过现有的 Issues,确认没有类似的问题或讨论。"
16          - label: "我已经仔细阅读了项目的 README.md 和相关文档。"
17    - type: textarea
18      id: question
19      attributes:
20        label: "🤔 我的问题是... (My Question Is...)"
21        description: "请详细描述你的问题"
22        placeholder: "我想了解..."
23      validations:
24        required: true
25    - type: textarea
26      id: context
27      attributes:
28        label: "💡 相关背景 (Relevant Context)"
29        description: "请提供相关的背景信息"
30        placeholder: "相关的背景信息..."
31      validations:
32        required: false
33    - type: textarea
34      id: tried-actions
35      attributes:
36        label: "尝试过的操作 (What I've Tried)"
37        description: "请描述你已经尝试过的操作"
38        placeholder: "我已经尝试过..."
39      validations:
40        required: false
41    - type: markdown
42      attributes:
43        value: |
44          ### 环境信息 (可选,Optional)
45    - type: input
46      id: software-version
47      attributes:
48        label: "软件版本"
49        description: "我使用的软件版本是"
50        placeholder: "例如: v1.0.0"
51      validations:
52        required: false
53    - type: dropdown
54      id: operating-system
55      attributes:
56        label: "操作系统"
57        description: "我的操作系统是"
58        options:
59          - macOS
60          - Windows 11
61          - Ubuntu 22.04
62          - 其他
63      validations:
64        required: false