维护者确认:#3064 新增 PR Git 历史卫生门禁(CI 架构变更)
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
## 待确认内容
PR [#3064](https://github.com/makecindy/cindy/pull/3064) 新增了一个 CI 门禁脚本 `check-git-hygiene.mjs`,会在 PR 检查中阻止临时产物与大对象进入可达历史。
**触发原因**:arch(huge-diff,867 行 ≥ 800)+ 改动受保护路径 `.github/workflows/ci.yml`
**需要维护者确认的问题**:
1. 新增的 git 历史卫生检查规则是否合理(文件大小阈值、临时产物匹配规则)
2. allowlist 机制是否满足特殊场景需求
3. 是否同意将此门禁加入 CI 流水线
## 确认方式
- 同意:直接在 PR 上 Approve
- 需要修改:在 PR 上 Request Changes 并说明修改要求,作者改完后重新 Approve 即放行
---
关联 PR:#3064(作者 @Yuewei-LL);本 issue 由 review-pr 流程自动创建,用于先讨论该 PR 涉及的技术架构调整,维护者确认后 PR 会恢复推进。
Contributor guide
Research direction
Start by reviewing PR #3064, then read .github/workflows/ci.yml and the new check-git-hygiene.mjs script. Check the file-size threshold, temporary-artifact matching rules, and allowlist behavior against the proposed CI integration. Done means the maintainers have approved the design or requested specific changes on the PR.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github-actions, javascript
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 20/100