Skip to content

docs: replace pull request template - #36

Merged
FlanChanXwO merged 1 commit into
mainfrom
codex/replace-pr-template-latest
Aug 28, 2026
Merged

docs: replace pull request template#36
FlanChanXwO merged 1 commit into
mainfrom
codex/replace-pr-template-latest

Conversation

@FlanChanXwO

@FlanChanXwO FlanChanXwO commented Aug 28, 2026

Copy link
Copy Markdown
Owner

变更点 / Changes

  • 用 pixiv-cli 的 PR 模板替换 javdb-cli 的 .github/PULL_REQUEST_TEMPLATE.md
  • 仅修改 PR 模板,不涉及 javdb update、Release workflow 或发布脚本。

验证步骤 / Verification

  • cmp -s:目标模板与 pixiv-cli 模板完全一致。
  • git diff --check:通过。
  • go test ./scripts/changescope:通过。
  • go test ./internal/update/...:通过。
  • sh scripts/test-workflows.sh:通过。
  • sh scripts/test-package-release.sh:通过。
  • sh scripts/test-clawhub-publish-workflow.sh:通过。
  • go test ./...:通过。
  • sh scripts/build.sh:通过。

真实 JavDB App API:未运行,本次仅修改文档。

Sourcery 摘要

替换拉取请求模板,以提供更清晰的双语贡献指南和验证要求。

改进:

  • 将拉取请求模板替换为精简的双语模板,重点说明变更描述、验证步骤和贡献者保障措施。

文档:

  • 更新仓库的拉取请求指南和检查清单,包括问题链接、依赖项披露、迁移影响以及文档同步要求。
Original summary in English

Summary by Sourcery

Replace the pull request template to provide clearer bilingual contribution guidance and verification requirements.

Enhancements:

  • Replace the pull request template with a streamlined bilingual template focused on change descriptions, verification steps, and contributor safeguards.

Documentation:

  • Update the repository’s pull request guidance and checklist, including issue linking, dependency disclosures, migration impact, and synchronized documentation expectations.

@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 7d560199-19b7-4b4e-9c4c-2a57793fe4db


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the area: github-actions GitHub workflow or repository automation changes label Aug 28, 2026
@sourcery-ai

sourcery-ai Bot commented Aug 28, 2026

Copy link
Copy Markdown
审查者指南(小型 PR 中折叠显示)

审查者指南

此 PR 仅涉及文档:将仓库的拉取请求模板替换为 pixiv-cli 版本,修改贡献者提示和检查清单项目,不改变应用程序、发布或工作流的行为。

文件级变更

变更 详细信息 文件
将现有的双语 PR 模板替换为基于 pixiv-cli 的模板,并简化贡献者指南。
  • 添加提醒,要求排除凭据、私有数据以及下载的或本地内容。
  • 将摘要和范围部分替换为以变更为重点的部分,并添加关闭 issue 的指南。
  • 保留双语验证指南,同时提供示例测试命令。
  • 围绕安全性、依赖项、破坏性变更和文档同步简化检查清单。
.github/PULL_REQUEST_TEMPLATE.md

提示和命令

与 Sourcery 交互

  • 触发新的审查: 在拉取请求中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的审查评论。
  • 从审查评论生成 GitHub issue: 回复审查评论,请 Sourcery 根据该评论创建 issue。你也可以回复审查评论并使用 @sourcery-ai issue,以根据该评论创建 issue。
  • 生成拉取请求标题: 在拉取请求标题的任意位置写入 @sourcery-ai,即可随时生成标题。你也可以在拉取请求中评论 @sourcery-ai title,以随时(重新)生成标题。
  • 生成拉取请求摘要: 在拉取请求正文中需要生成摘要的位置写入 @sourcery-ai summary,即可随时在指定位置生成 PR 摘要。你也可以在拉取请求中评论 @sourcery-ai summary,以随时(重新)生成摘要。
  • 生成审查者指南: 在拉取请求中评论 @sourcery-ai guide,即可随时(重新)生成审查者指南。
  • 解决所有 Sourcery 评论: 在拉取请求中评论 @sourcery-ai resolve,即可解决所有 Sourcery 评论。如果你已经处理了所有评论且不想再看到它们,此功能会很有用。
  • 忽略所有 Sourcery 审查: 在拉取请求中评论 @sourcery-ai dismiss,即可忽略所有现有的 Sourcery 审查。如果你想从新的审查开始,这一功能尤其有用——别忘了评论 @sourcery-ai review 来触发新的审查!

自定义你的使用体验

访问你的仪表板以:

  • 启用或禁用审查功能,例如 Sourcery 生成的拉取请求摘要、审查者指南等。
  • 更改审查语言。
  • 添加、删除或编辑自定义审查说明。
  • 调整其他审查设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This documentation-only PR replaces the repository’s pull request template with the pixiv-cli version, changing contributor prompts and checklist items without modifying application, release, or workflow behavior.

File-Level Changes

Change Details Files
Replace the existing bilingual PR template with the pixiv-cli-derived template and streamline contributor guidance.
  • Add reminders to exclude credentials, private data, and downloaded or local content.
  • Replace summary and scope sections with a change-focused section and issue-closing guidance.
  • Retain bilingual verification guidance while providing example test commands.
  • Simplify the checklist around security, dependencies, breaking changes, and documentation synchronization.
.github/PULL_REQUEST_TEMPLATE.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嘿——我发现了 1 个问题

AI 代理提示
请处理本次代码审查中的评论:

## 个别评论

### 评论 1
<location path=".github/PULL_REQUEST_TEMPLATE.md" line_range="31" />
<code_context>
+- [ ] 我没有引入恶意代码 / 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/`
</code_context>
<issue_to_address>
**issue:** 此检查清单仅提到同步 `docs/en/``docs/zh-CN/` 下的受影响文档,却遗漏了仓库特有的要求:当相关行为发生变化时,需要更新 `README`、CLI 参考文档、SDK、维护者文档以及 `skills/javdb-cli` 文档。因此,CLI 或 SDK 的 PR 可能会在这些必需的公开文档或运维文档仍然过时的情况下合并。

**Triggers:** 当 PR 更改 CLI 行为、标志、SDK API、身份验证、配置或运维指南时。

**Suggested fix:** 除了本地化同步要求之外,保留明确的 javdb-cli 文档检查清单,涵盖 README、CLI 参考文档、SDK、维护者文档和 operator-skill 文件。

```suggestion
- [ ] 受影响的文档已在 `docs/en/` 与 `docs/zh-CN/` 同步 / Affected docs synced under `docs/en/` and `docs/zh-CN/`
- [ ] `javdb-cli` 行为变更已同步更新 README、CLI reference、SDK、maintainer 与 `skills/javdb-cli` operator-skill 文档 / For `javdb-cli` behavior changes, README, CLI reference, SDK, maintainer, and `skills/javdb-cli` operator-skill documentation are updated
```
</issue_to_address>

Sourcery 评估

等待批准。 请先处理 1 个发现的问题。

阻塞性发现:.github/PULL_REQUEST_TEMPLATE.md:31


Sourcery 对开源项目免费——如果您喜欢我们的审查,请考虑分享它们 ✨
请帮助我变得更有用!请在每条评论上点击 👍 或 👎,我会利用反馈来改进审查结果。
Original comment in English

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path=".github/PULL_REQUEST_TEMPLATE.md" line_range="31" />
<code_context>
+- [ ] 我没有引入恶意代码 / 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/`
</code_context>
<issue_to_address>
**issue:** The checklist only mentions synchronizing affected documents under `docs/en/` and `docs/zh-CN/`, and drops the repository-specific requirement to update `README`, CLI reference, SDK, maintainer, and `skills/javdb-cli` documentation when their behavior changes. A CLI or SDK PR can therefore merge with those required public or operator documents stale.

**Triggers:** When a PR changes CLI behavior, flags, SDK APIs, authentication, configuration, or operator guidance.

**Suggested fix:** Retain the explicit javdb-cli documentation checklist covering README, CLI reference, SDK, maintainer, and operator-skill files, in addition to the locale synchronization requirement.

```suggestion
- [ ] 受影响的文档已在 `docs/en/` 与 `docs/zh-CN/` 同步 / Affected docs synced under `docs/en/` and `docs/zh-CN/`
- [ ] `javdb-cli` 行为变更已同步更新 README、CLI reference、SDK、maintainer 与 `skills/javdb-cli` operator-skill 文档 / For `javdb-cli` behavior changes, README, CLI reference, SDK, maintainer, and `skills/javdb-cli` operator-skill documentation are updated
```
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: .github/PULL_REQUEST_TEMPLATE.md:31


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

- [ ] 我没有引入恶意代码 / 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/`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: 此检查清单仅提到同步 docs/en/docs/zh-CN/ 下的受影响文档,却遗漏了仓库特有的要求:当相关行为发生变化时,需要更新 README、CLI 参考文档、SDK、维护者文档以及 skills/javdb-cli 文档。因此,CLI 或 SDK 的 PR 可能会在这些必需的公开文档或运维文档仍然过时的情况下合并。

Triggers: 当 PR 更改 CLI 行为、标志、SDK API、身份验证、配置或运维指南时。

Suggested fix: 除了本地化同步要求之外,保留明确的 javdb-cli 文档检查清单,涵盖 README、CLI 参考文档、SDK、维护者文档和 operator-skill 文件。

Suggested change
- [ ] 受影响的文档已在 `docs/en/``docs/zh-CN/` 同步 / Affected docs synced under `docs/en/` and `docs/zh-CN/`
- [ ] 受影响的文档已在 `docs/en/``docs/zh-CN/` 同步 / Affected docs synced under `docs/en/` and `docs/zh-CN/`
- [ ] `javdb-cli` 行为变更已同步更新 README、CLI reference、SDK、maintainer 与 `skills/javdb-cli` operator-skill 文档 / For `javdb-cli` behavior changes, README, CLI reference, SDK, maintainer, and `skills/javdb-cli` operator-skill documentation are updated
Original comment in English

issue: The checklist only mentions synchronizing affected documents under docs/en/ and docs/zh-CN/, and drops the repository-specific requirement to update README, CLI reference, SDK, maintainer, and skills/javdb-cli documentation when their behavior changes. A CLI or SDK PR can therefore merge with those required public or operator documents stale.

Triggers: When a PR changes CLI behavior, flags, SDK APIs, authentication, configuration, or operator guidance.

Suggested fix: Retain the explicit javdb-cli documentation checklist covering README, CLI reference, SDK, maintainer, and operator-skill files, in addition to the locale synchronization requirement.

Suggested change
- [ ] 受影响的文档已在 `docs/en/``docs/zh-CN/` 同步 / Affected docs synced under `docs/en/` and `docs/zh-CN/`
- [ ] 受影响的文档已在 `docs/en/``docs/zh-CN/` 同步 / Affected docs synced under `docs/en/` and `docs/zh-CN/`
- [ ] `javdb-cli` 行为变更已同步更新 README、CLI reference、SDK、maintainer 与 `skills/javdb-cli` operator-skill 文档 / For `javdb-cli` behavior changes, README, CLI reference, SDK, maintainer, and `skills/javdb-cli` operator-skill documentation are updated

@FlanChanXwO
FlanChanXwO merged commit 832c65c into main Aug 28, 2026
9 checks passed
@FlanChanXwO
FlanChanXwO deleted the codex/replace-pr-template-latest branch August 28, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: github-actions GitHub workflow or repository automation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant