Repository navigation
CI:同步隐私扫描器并核对与主仓逐字节相同 - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extras 的
privacy.py落后于 ModAVD 主仓,CI 也没有拦截不同步的改动。本 PR 原样同步 ModAVD main0ada588的扫描器,并沿用管理器、输入法和文档站的做法:只读、稀疏检出主仓scripts/privacy.py,用cmp核对,不同或缺失就失败。贡献说明补上先改主仓、再原样同步的约定。扫描器与主仓的 SHA-256 均为
8bbd3e704d5e60a71de20b192c54dd9dbb430c671c9caf9dbc0071da5d7fedac;本仓白名单不变。验证:执行新增步骤中的实际 Bash 比较脚本,相同文件退出 0,改动字节、缺少参考文件均退出 1;workflow YAML 解析与权限、稀疏检出设置核对通过。更新后的公开隐私扫描 24 个文件、零失败,现有作者检查 3 项测试通过,
git diff --check通过。主仓使用同一扫描器的发版工具 47 项测试也全部通过,包含 Unicode、异常编码、白名单和归档成员检查。未修改 C 库代码,未重跑库构建或模拟器实测。Refs ModAVD/ModAVD#127