mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-19 18:44:53 +00:00
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:
parent
ec5e44da0c
commit
12f2611024
1 changed files with 6 additions and 1 deletions
7
.github/workflows/build-and-test.yml
vendored
7
.github/workflows/build-and-test.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue