Skip to content

ci: 提交作者检查换成 ModAVD 的统一版本,CI 核对逐字节相同 - #12

Merged
qiyinxi merged 1 commit into
ModAVD:mainfrom
qiyinxi:ci/author-check-zizmor
Nov 21, 2026
Merged

qiyinxi merged 1 commit into
ModAVD:mainfrom
qiyinxi:ci/author-check-zizmor

Conversation

@qiyinxi

@qiyinxi qiyinxi commented Nov 21, 2026

Copy link
Copy Markdown
Member

提交作者检查(scripts/repo_checks.py 和 scripts/test_repo_checks.py)统一成一份,以 ModAVD 的为准:规则是维护者的固定身份或 GitHub noreply 地址(含 Dependabot),Co-authored-by 同样查;报错文字、测试用例两边合并。

  • scripts/repo_checks.py 和 scripts/test_repo_checks.py 换成 ModAVD 的那份;原来的接口(identity_allowed、CHECK_BASE_SHA 等环境变量)改成统一的 allowed、REPO_CHECK_BASE / REPO_CHECK_HEAD,authors job 的环境变量跟着改。规则不变。
  • privacy job 里原来只核对 privacy.py,现在一起核对这两个脚本,不同就失败并说明从 ModAVD 同步。
  • 要先合 ModAVD 里对应的 PR,合之前这一项会红。

zizmor 1.32.0 本地扫本仓库 workflow:没有发现。

Refs ModAVD/ModAVD#44
Refs ModAVD/ModAVD#145

@qiyinxi qiyinxi added the enhancement New feature or request / 新功能或改进 label Nov 21, 2026
@qiyinxi
qiyinxi added this pull request to the merge queue Nov 21, 2026
Merged via the queue into ModAVD:main with commit 0ad4379 Nov 21, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request / 新功能或改进

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant