[moz] ci: 文档改动跳过 CI/CD(paths-ignore) #122
Reference in New Issue
Block a user
Delete Branch "fix/ci-skip-docs-only-changes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
审查结论:Approve
风险级别:低(L1 小改动,2 文件 +14 行 CI 配置)
改动验证
ci.yml 和 deploy.yml 新增
paths-ignore,纯文档改动跳过 CI/CD。paths-ignore 列表:
docs/**— 设计文档mockups/**— 原型prompt_templates/**— prompt 模板*.md— 根目录 markdownREADME.md— README(已被*.md覆盖,冗余但无害)正确性
src/,tests/,config/下,不会被 paths-ignore 误伤.gitea/自身改动不在 paths-ignore 中——CI 配置改动仍会触发 CI ✅小问题
G1.
*.md已覆盖根目录所有 markdown 文件(含 README.md),README.md是冗余条目。无害但不必要。交付检查
Approve