chore: add issue templates

This commit is contained in:
krau
2025-05-07 09:18:46 +08:00
parent 239d5ad562
commit 6d4e97b4bb
3 changed files with 76 additions and 0 deletions

35
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: "👾 报告 bug"
description: "报告 bug"
labels:
- ":space_invader: Bug"
assignees:
- krau
body:
- type: textarea
attributes:
label: "👾 问题描述"
description: "What happened?"
placeholder: "When called ... happens ..."
validations:
required: true
- type: textarea
attributes:
label: "⚡️ 预期行为"
description: "What was expected?"
placeholder: "It should be ..."
- type: textarea
attributes:
label: "📄 配置文件"
description: "Please provide your config file"
placeholder: "请自行隐去密钥信息"
render: toml
- type: textarea
attributes:
label: "🔍 日志"
description: "Please provide logs"
placeholder: "可删除隐私信息"
render: shell
- type: markdown
attributes:
value: |
## Thank you for contributing to the project :slightly_smiling_face:

8
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: 💬 不知道如何正确使用?
url: https://github.com/krau/SaveAny-Bot/discussions
about: "前往讨论区提问"
- name: 📄 文档
url: https://sabot.unv.app
about: "查看文档"

33
.github/ISSUE_TEMPLATE/feature.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: "⭐️ 功能请求"
description: "功能请求"
labels:
- ":fire: Enhancement"
assignees:
- krau
body:
- type: markdown
attributes:
value: |
# 请详细描述你想要的功能
- type: textarea
attributes:
label: "⭐️ Feature description"
description: "What new feature you want to see?"
placeholder: "Add ... in order to ..."
validations:
required: true
- type: textarea
attributes:
label: "🌈 Your view"
description: "How do you see this feature will be used and/or implemented?"
placeholder: "It should be like ..."
- type: textarea
attributes:
label: "🧐 Code example"
description: "You can provide code (or pseudocode) example"
placeholder: "Cool code that will work ..."
render: Go
- type: markdown
attributes:
value: |
## Thank you for contributing to the project :slightly_smiling_face: