Repository navigation
Commit 3daa896
committed
ci: keep only the newest run per branch or pull request
Nothing cancelled a superseded run. A push to a branch with an open pull request
starts two runs of three jobs for the same commit -- one for the push, one for the
pull request -- and a second push before those finish leaves a dozen jobs queued
against commits nobody is waiting on. That queue is what left the end-to-end job
without a runner for five minutes while its two siblings already had one.
Keyed on the pull request where there is one, so a branch's push run and its
pull-request run stay separate and each cancels only its own predecessor.1 parent 76a206b commit 3daa896
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
15 | 30 | | |
16 | 31 | | |
17 | 32 | | |
| |||
0 commit comments