Skip to content

Commit 5ab97a6

Browse files
authored
ci(regression): add concurrency group to cancel superseded runs (heygen-com#425)
Matches the pattern already in place on ci.yml, docs.yml, windows-render.yml, and catalog-previews.yml. The regression workflow was the only one without it. Without this, rapid pushes to a PR leave prior regression runs still executing their full matrix (~10 parallel shards across styles-a..g, fast, render-compat, hdr) even though they'll be thrown away. On a busy day this alone can eat a double-digit share of the GitHub hosted runner pool and stretch queues for every open PR.
1 parent 7800a9f commit 5ab97a6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/regression.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
branches:
77
- main
88

9+
concurrency:
10+
group: regression-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
changes:
1115
name: Detect changes

0 commit comments

Comments
 (0)