mirror of
https://github.com/ranxianglei/billion-context.git
synced 2026-11-22 05:56:52 +08:00
Every pull_request-triggered job in all 20 PR workflows now carries `if: !contains(github.event.head_commit.message, '[ework:ci-held]')`, merged with pre-existing job conditions where present. Why: the ci-engineer lane rebase/fix sessions push incrementally, and each push spawned ~13 full workflow runs. Queued runs on the same ref are NOT cancelled by the per-ref concurrency groups (cancel-in-progress only covers in_progress), so a 20-push session queued ~260 runs that starved real work (release CI waited behind 73 queued, #5795 incident lineage). Owner policy 2026-11-15: intermediate pushes must not trigger CI; the verified final head push (marker-free) is the single CI pass. Semantics: marker in the commit MESSAGE (subject or body) — GitHub only exposes head_commit.message at trigger time. Non-PR events are unaffected (schedule/workflow_dispatch/empty head_commit => guard true). A held run completes with all jobs skipped; branch-protection required checks stay unsatisfied until the final unmarked run goes green, which is the intended signal that "CI has not been asked yet". No config surface added (owner policy: marker convention, not a knob). (ework-agent, policy: 推一堆后确定没问题再触发 — m17242)