Repository navigation
docs(pr-template): 完善手动 PR 模板与 AI 使用声明 - #15
Conversation
Signed-off-by: Axiomoth <alearner@splrad.com>
There was a problem hiding this comment.
🟡 Changes recommended
模板遗漏关键流程约束,且 AI 声明缺少单选指引。
1 open finding
补建 PR 说明缺少明确授权边界 · New
What changed in this PR
完善组织默认 PR 模板,规范手动创建 PR 时的信息填写与 AI 使用声明。
Changes:
- 新增结构化的变更、验证、影响及回退栏目。
- 补充 Steward 与 fork 提交流程说明。
- 新增 AI 使用声明。
| File | Description |
|---|---|
.github/pull_request_template.md |
重构组织默认 PR 模板。 |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 93d19b0b41
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| 手动创建 PR 时,请填写下列内容并删除填写提示;不适用的栏目填写“无”。 | ||
|
|
||
| <!-- workflow:managed-pr:start --> |
There was a problem hiding this comment.
在 fork 提交或机器人故障补建的 PR 后续被 Steward 更新时,这些位于 workflow:managed-pr 标记内的摘要、验证结果、风险和 AI 声明都会被重新生成的正文覆盖;README.md:20 已明确说明 Steward 会重新生成正文,而本次又删除了原先要求把需保留信息写入评论的提示。请将需长期保留的人工内容放到受管区外,或恢复明确警告并引导贡献者把这些信息写入不会被覆盖的位置。
AGENTS.md reference: AGENTS.md:L13-L15
Useful? React with 👍 / 👎.
| - 本次贡献未使用 AI 编程助手。 | ||
| - 本次贡献使用了 AI 编程助手,人类进行了审查。 | ||
| - 本次贡献完全由 AI 编程助手代理生成,没有人类参与。 |
There was a problem hiding this comment.
手动创建 PR 时,这三项会作为普通列表同时保留并形成互相矛盾的声明,因为模板没有要求只保留其中一项,也没有提供可选择的控件;GitHub 的可点击任务项需要使用 - [ ] 语法。请明确要求删除其余两项,或改为任务列表并注明只能勾选一项,避免未编辑模板的 PR 同时声称未使用、经人工审查和无人参与。
AGENTS.md reference: AGENTS.md:L21-L23
Useful? React with 👍 / 👎.

摘要
重写 .github/pull_request_template.md,新增摘要、变更原因、主要改动、关联事项、验证结果、影响分析、发布迁移、回退方式及 AI 使用声明等结构化栏目。
主要改动
影响分析
贡献者:@axiomoth