diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 80b0d277..6935ee6b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -24,7 +24,7 @@ body: attributes: label: SnowLuma 版本 description: 启动日志首行或 `package.json` 里的版本号 - placeholder: "例如 1.8.5" + placeholder: "例如 1.10.2" validations: required: true @@ -53,6 +53,19 @@ body: validations: required: true + - type: dropdown + id: deploy + attributes: + label: 部署方式 + description: 如何运行 SnowLuma + options: + - 源码运行(pnpm dev / start) + - 预构建包 + - Docker + - 其他 / 不确定 + validations: + required: true + - type: input id: node-version attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 6b4b027c..d1d3279d 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -66,11 +66,13 @@ body: - OneBot v11 规范: https://github.com/botuniverse/onebot-11/... - 相关讨论: #xxx - - type: checkboxes + - type: dropdown id: willingness attributes: label: 您是否愿意提交 PR 来实现这个功能? options: - - label: 愿意,且需要维护者讨论方案后再动手 - - label: 愿意,已有大致实现思路 - - label: 暂时只提建议 + - 愿意,但需要维护者讨论方案后再动手 + - 愿意,已有大致实现思路 + - 暂时只提建议 + validations: + required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..85aa2b0c --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,17 @@ + + +## 关联 Issue + + + +## 变更说明 + + + +## 提交前检查 + +- [ ] 本 PR 聚焦单一目标,未夹带无关改动 +- [ ] 已通过 `pnpm lint` 与 `pnpm typecheck` +- [ ] 已补充/更新相关测试,且 `pnpm test` 通过 +- [ ] 文件行尾为 LF(未引入 CRLF) +- [ ] PR 描述与实际实现一致