Skip to content

chore: 补齐 strict 模式的 PR CI 门禁(validate) - #3

Merged
xhqing merged 1 commit into
mainfrom
chore/ci-validate
Nov 3, 2026
Merged

xhqing merged 1 commit into
mainfrom
chore/ci-validate

Conversation

@xhqing

@xhqing xhqing commented Nov 3, 2026

Copy link
Copy Markdown
Owner

为什么

用户 2026-11-03 立规:新建仓库一律必须 strict 模式的 PR CI;并要求存量不合规仓库统一执行最新标准。

本仓库此前在 PR 上没有门禁,改动合进 main 全靠人工把关。

改了什么

  • 新增 .github/workflows/validate.yml(PR 与 main push 触发,检查名 validate)
  • 新增 .github/scripts/validate.py(必备文件 / 敏感文件 / 大文件 / README 相对链接 / Python·Shell 语法)
  • CHANGELOG 记录本次改动

后续

本 PR 合并后,会给 main 分支保护挂上 required check validate 并设 strict = true。

补齐团队 2026-11-03 立规的 strict 模式 PR CI 三件套:
- 新增 .github/workflows/validate.yml(PR + 默认分支 push 触发)
- 新增 .github/scripts/validate.py(仓库卫生 + 语法检查)

分支保护的 required check 将在 PR 合并后挂上。
@xhqing
xhqing merged commit a08ba1a into main Nov 3, 2026
1 check passed
@xhqing
xhqing deleted the chore/ci-validate branch November 3, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant