Skip to content

Commit ece7120

Browse files
committed
[CI] Fix issue template bug & add config
1 parent 3fd1085 commit ece7120

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/ISSUE_TEMPLATE/1-bug-report.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,18 @@ body:
7777
validations:
7878
required: true
7979

80-
- type: dropdown
80+
- type: checkboxes
8181
id: protocols
8282
attributes:
83+
label: 使用的协议
8384
description: 是否和具体的协议支持有关
8485
options:
85-
-
86-
- 内置 OneBot 协议
87-
- 三方协议(请在“问题描述”板块说明)
86+
- label:
87+
required: false
88+
- label: OneBot 协议(内置)
89+
required: false
90+
- label: 三方协议(请在“问题描述”板块说明)
91+
required: false
8892
validations:
8993
required: true
9094

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: melobot 文档
4+
url: https://docs.melobot.org
5+
about: 查阅 melobot 文档与教程
6+
- name: 安全漏洞报告
7+
url: https://github.com/Meloland/melobot/security/advisories/new
8+
about: 通过 Github 平台私密地报告安全漏洞

0 commit comments

Comments
 (0)