ci: only cancel in-progress jobs for pull requests (#1378)

- Only cancel in-progress CI jobs for pull requests, not for master
branch pushes
- Ensures all master branch jobs run to completion while still saving CI
resources on PRs
This commit is contained in:
Stanislas
2025-12-13 15:14:15 +01:00
committed by GitHub
parent 99c74e5af4
commit 75ea8ef1c1
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ name: Docker Test
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read