fix(ci): keep main runs alive while coalescing newer pushes

This commit is contained in:
Peter Steinberger
2026-02-16 09:53:27 +01:00
parent 5d8f43ae8e
commit 1e4cf489e0
5 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ on:
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
# Detect docs-only changes to skip heavy jobs (test, build, Windows, macOS, Android).

View File

@@ -15,7 +15,7 @@ on:
concurrency:
group: docker-release-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: false
env:
REGISTRY: ghcr.io

View File

@@ -8,7 +8,7 @@ on:
concurrency:
group: install-smoke-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
docs-scope:

View File

@@ -15,7 +15,7 @@ on:
concurrency:
group: sandbox-common-smoke-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
sandbox-common-smoke:

View File

@@ -7,7 +7,7 @@ on:
concurrency:
group: workflow-sanity-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
no-tabs: