fix(ci): stop cancelling in-progress Build and Test runs

cancel-in-progress meant a busy main never completed a verdict: four
consecutive runs were cancelled by follow-up pushes this afternoon, so
the workflow produced neither green nor red for hours. Adopt the Core
E2E concurrency policy instead and let the in-progress run finish while
queued runs collapse to the newest pending one.
This commit is contained in:
rcourtman
2026-07-17 16:47:00 +01:00
parent ec5e44da0c
commit 12f2611024
+6 -1
View File
@@ -14,9 +14,14 @@ on:
permissions:
contents: read
# Let the in-progress run finish (pushes land here every few minutes on a
# busy day, and cancelling would mean main never completes a verdict — four
# consecutive runs were cancelled on 2026-07-17 alone); queued runs collapse
# to the newest pending one, so intermediate pushes skip. Mirrors the Core
# E2E workflow's concurrency policy.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: false
jobs:
secret-scan: