mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-02 13:22:11 +03:00
My own assertion from #8953 encoded the criterion this PR deliberately removes: it required `.conclusion == "success"` on the whole CI run, which discarded a perfectly good build tree whenever any unrelated shard went red — pushing the publish into the 40-minute build the fast path exists to avoid. Inverted rather than deleted, and the replacement is strictly stronger. It now pins three things where the old one pinned one: that the loose criterion is gone, that the step actually probes for the artifact (the accurate signal, since it is only uploaded when the Build job succeeded), and that it probes MORE THAN ONE candidate run — without which a single miss still falls back to a full build. The provenance clause it was originally written to protect (head_repository.full_name == env.REPO) is untouched and still asserted above.