From ad242e5a72f7c30891df447f07d487f0e04250c3 Mon Sep 17 00:00:00 2001 From: FlanChanXwO Date: Fri, 28 Aug 2026 19:46:15 +0800 Subject: [PATCH] docs: replace pull request template --- .github/PULL_REQUEST_TEMPLATE.md | 42 ++++++++++++++------------------ 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5f06d8b..df35958 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,37 +1,31 @@ - - -## Summary / 概述 + -## Scope and compatibility / 范围与兼容性 +## 变更点 / Changes -## Verification / 验证 +## 验证步骤 / Verification -```text -go test ./... -sh scripts/build.sh -``` - -## Checklist / 检查清单 +## 检查清单 / Checklist -- [ ] The change is focused and linked to an issue when appropriate. / 改动目标明确,并在适用时关联 Issue。 -- [ ] I added or updated focused tests for changed behavior. / 我已为变更行为新增或更新聚焦测试。 -- [ ] I ran the relevant tests and recorded the results above. / 我已运行相关测试并在上方记录结果。 -- [ ] I updated the required CLI reference, SDK, README, maintainer, and operator-skill documentation. / 我已更新所需的 CLI reference、SDK、README、维护者和 operator-skill 文档。 -- [ ] I documented every new timeout, retry, pagination or result limit, truncation, fallback, or downgrade and its evidence. / 我已记录每项新增 timeout、retry、pagination 或结果限制、truncation、fallback 或 downgrade 及其证据。 -- [ ] I did not add passwords, JWTs, `~/.javdb-cli/auth.json` contents, proxy credentials, private URLs, local state, or private API responses. / 我没有添加密码、JWT、`~/.javdb-cli/auth.json` 内容、代理凭据、私有 URL、本地状态或私有 API 响应。 -- [ ] I updated migration guidance for every breaking change. / 我已为每个破坏性变更更新迁移指引。 +- [ ] 我没有引入恶意代码 / No malicious code +- [ ] 我没有新增依赖,或已在 `go.mod`(或 Rust `Cargo.toml`)的补充新的依赖 / No new dependencies, or added name, source, and purpose to `go.mod` (or Rust `Cargo.toml`) in Changes +- [ ] 这不是一次破坏性更新,或已在「变更点」标注迁移影响 / Not a breaking change, or migration impact noted in Changes +- [ ] 受影响的文档已在 `docs/en/` 与 `docs/zh-CN/` 同步 / Affected docs synced under `docs/en/` and `docs/zh-CN/`