mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 10:48:20 +00:00
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:
1 parent
3d9917f325
commit
4630af6437
3 files changed
+15
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user