Skip to content

贡献流程:加 CODEOWNERS 和 PR 模板 - #23

Merged
qiyinxi merged 1 commit into
ModAVD:mainfrom
qiyinxi:dev/issue-127-contrib
Nov 26, 2026
Merged

qiyinxi merged 1 commit into
ModAVD:mainfrom
qiyinxi:dev/issue-127-contrib

Conversation

@qiyinxi

@qiyinxi qiyinxi commented Nov 26, 2026

Copy link
Copy Markdown
Member

推进 ModAVD/ModAVD#127 剩下的几件。只加两个 .github/ 下的文件。

改了什么

  • 加 .github/CODEOWNERS,只列高风险路径:workflow、CI 检查,以及拒绝生产根目录和生产端口的守卫(local.ps1、regress.ps1、items/common.ps1、items/port-guard.ps1)。动了这些路径的 PR,GitHub 自动请负责人审查。规则集里不打开「必须由 Code Owner 审批」,所以不挡合并。
  • 加 .github/pull_request_template.md,中英一份,带 Refs 行。

怎么验证的

  • ModAVD 的 scripts/privacy.py 扫这个仓库:通过。
  • CODEOWNERS 里的每条路径都对着 main 上的文件核过。

Refs ModAVD/ModAVD#127

- .github/CODEOWNERS:只列高风险路径(拒绝生产根目录和生产端口的守卫、CI 检查),
  动了这些路径的 PR 自动请负责人审查。
- .github/pull_request_template.md:中英一份,带 Refs 行。

Refs ModAVD/ModAVD#127
@qiyinxi qiyinxi added the documentation Improvements or additions to documentation label Nov 26, 2026
@qiyinxi
qiyinxi added this pull request to the merge queue Nov 26, 2026
Merged via the queue into ModAVD:main with commit a8c66fd Nov 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant