ci(regression): add concurrency group to cancel superseded runs (#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.
This commit is contained in:
James Russo
2026-04-22 13:56:18 -07:00
committed by GitHub
parent 7800a9ffed
commit 5ab97a6af9
+4
View File
@@ -6,6 +6,10 @@ on:
branches:
- main
concurrency:
group: regression-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
name: Detect changes