Keep image retention policy checks on main only #18
Reference in New Issue
Block a user
Delete Branch "codex/retention-main-only"
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?
用户要求除合并到 main 外不触发 CI/CD,之前三个应用 workflow 已按此限制。PR #17 新增策略检查 workflow 仍含 pull_request,本次统一触发规则。
wiki-image-retention-checks.yml 移除 PR 触发,保留 main push 和原路径过滤,并加作业级 main push 守卫;wiki-image-retention.md 同步实际执行时机。保留策略、清理范围和应用构建逻辑均不改变。
验证:四个 workflow 均经 Ruby 标准 YAML 解析,并断言唯一触发为 main push、所有 job 有相应守卫;git diff --check 通过。本次未运行构建或 Docker 操作。现有 main 作业508继续运行。
分支 codex/retention-main-only,commit b94c1e4,目标 main。等待用户手动合并,不自动合并。