Commit 779393d
Serialise red-master runs
The design rests on there being exactly one open ci-red issue, and the
lookup that enforces that is a read followed by a write. Two watched
workflows can complete seconds apart -- the nightly's jobs finish together,
and a push can land mid-run -- so two red-master runs could each find no
open issue and each open one.
cancel-in-progress stays false on purpose: cancelling the earlier run would
drop a notification about a failure, which is the thing this workflow exists
to prevent.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PtAbQJuygzhHiveuCxCPnT1 parent bd00a98 commit 779393d
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
42 | 55 | | |
43 | 56 | | |
44 | 57 | | |
| |||
0 commit comments