Cancel superseded CI runs on new pushes

A new push to a PR (or ref) now cancels the in-progress validation for
the previous commit instead of letting obsolete pipelines run to
completion. Drafts deliberately keep the full gate set — multi-platform
feedback matters most during iteration.

Signed-off-by: Martin Vogel <martin.vogel@datadice.io>
This commit is contained in:
Martin Vogel authored and DeusData committed 2026-06-12 18:16:43 +02:00
1 parent 3d9917f325
commit 4630af6437
3 files changed
+15

No files matched your search

+4
View File
@@ -10,6 +10,10 @@ permissions:
security-events: write
contents: read
concurrency:
group: codeql-${{ github.ref }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
analyze:
runs-on: ubuntu-latest