Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Cancel superseded CI runs on new pushes

Martin Vogel4630af64373c
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index c9df14593..4351c4cda 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -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
diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml
index 22e4cb5e3..c138b7054 100644
--- a/.github/workflows/dco.yml
+++ b/.github/workflows/dco.yml
@@ -10,6 +10,10 @@ on:
permissions:
contents: read
+concurrency:
+ group: dco-${{ github.ref }}-${{ github.event.pull_request.number || github.sha }}
+ cancel-in-progress: true
+
jobs:
dco:
runs-on: ubuntu-latest
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 7e40c114c..dc28ac6ca 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -11,6 +11,13 @@ on:
permissions:
contents: read
+# A new push to the PR supersedes the running validation — cancel it
+# instead of stacking zombie pipelines.
+concurrency:
+ group: pr-${{ github.event.pull_request.number }}
+ cancel-in-progress: true
+
+
jobs:
security:
uses: ./.github/workflows/_security.yml