Skip to content

Commit

Permalink
chore(issue templates): turn .md into .yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Buer-Nahida committed Feb 11, 2025
1 parent 646afeb commit c0fcd16
Show file tree
Hide file tree
Showing 6 changed files with 113 additions and 106 deletions.
46 changes: 0 additions & 46 deletions .github/ISSUE_TEMPLATE/bug-反馈.md

This file was deleted.

49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Bug 反馈
description: 反馈程序 Bug (中文)
title: "[BUG] "
labels: ["bug"]
body:
- type: checkboxes
attributes:
label: 在提出 Bug 反馈前,我已确定
options:
- label: 此 Bug 不是因为节点配置错误 / 节点类型不支持 / 配置错误发生的
required: true
- label: 我的 Worker 没有被 Cloudflare Ban 掉
required: true
- label: 此 Bug 没有已提出的 Issue
required: true
- type: textarea
attributes:
label: 解释
description: 这 Bug 是个啥玩意捏
validations:
required: true
- type: textarea
attributes:
label: 复原步骤
description: 咋复原的捏
placeholder: |
1.
2.
3.
validations:
required: true
- type: textarea
attributes:
label: 日志
description: 进入 `Cloudflare 仪表盘 > Workers 和 Pages > [订阅器 Worker] > 日志 > 实时 (若你启用了Worker日志到这就可以了) > 开启日志流` 访问你的订阅链,将输出的日志粘贴到下方
validations:
required: true
- type: textarea
attributes:
label: wrangler.toml 配置
description: 将你的 wrangler.toml 配置粘贴在下面
validations:
required: true
- type: textarea
attributes:
label: CONFIG 变量
description: 将你的配置粘贴在下面,注意抹除隐私信息
validations:
required: true
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 功能请求
description: 请求一个新功能(中文)
title: "[feature request] "
labels: ["enhancement"]
body:
- type: checkboxes
attributes:
label: 在提出功能请求前,我已确定
options:
- label: 确定此功能要达到的效果在现在版本中无法达到
required: true
- label: 确定此功能没有已经提出的提议 Issue
required: true
- type: checkboxes
attributes:
label: 你是否会为此功能贡献代码
options:
- label: 我会贡献代码
- type: textarea
attributes:
label: 解释你的想法
validations:
required: true
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/type.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 请求支持新节点类型
description: 请求支持新节点类型(中文)
title: "[type request] "
labels: ["type request"]
body:
- type: checkboxes
attributes:
label: 在打开此 Issue 前,我已经确定
options:
- label: 此节点类型未被支持
required: true
- label: 此类型没有已经提出的支持 Issue
required: true
- label: 此类型可以生成 Mihomo 格式的配置文件
required: false
- label: 此类型有统一的 URI Scheme (用于生成 Base64 格式的订阅)
required: false
- type: textarea
attributes:
label: 解释
description: 这类型是什么捏
validations:
required: true
- type: textarea
attributes:
label: 相关文档
description: 告诉我他在 Mihomo Wiki 上的链接,以及 URI Scheme 和官方文档的链接
validations:
required: true
- type: textarea
attributes:
label: Mihomo 配置示例
description: 它怎么写成 Mihomo 配置
validations:
required: true
- type: textarea
attributes:
label: 分享链接示例
description: 它怎么写成分享链接
validations:
required: true
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/功能请求.md

This file was deleted.

41 changes: 0 additions & 41 deletions .github/ISSUE_TEMPLATE/请求支持新节点类型.md

This file was deleted.

0 comments on commit c0fcd16

Please sign in to comment.