This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch release-2.1
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-2.1 by this push:
new d2b2db33fb8 [FLINK-40125][ci] Add auto cancel for concurrently running
jobs
d2b2db33fb8 is described below
commit d2b2db33fb83cc9839c56e477f3d1496f038da5c
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Sun Jul 12 21:44:10 2026 +0200
[FLINK-40125][ci] Add auto cancel for concurrently running jobs
---
.github/workflows/docs.yml | 4 ++++
.github/workflows/nightly-trigger.yml | 3 +++
.github/workflows/nightly.yml | 4 ++++
.github/workflows/stale.yml | 4 ++++
4 files changed, 15 insertions(+)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index c49d66da42e..f18d91877ee 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -19,6 +19,10 @@ on:
- cron: '0 0 * * *' # Deploy every day
workflow_dispatch:
+concurrency:
+ group: ${{ github.workflow }}
+ cancel-in-progress: true
+
jobs:
build-documentation:
if: github.repository == 'apache/flink'
diff --git a/.github/workflows/nightly-trigger.yml
b/.github/workflows/nightly-trigger.yml
index 185a906b938..d562c947a6d 100644
--- a/.github/workflows/nightly-trigger.yml
+++ b/.github/workflows/nightly-trigger.yml
@@ -28,6 +28,9 @@ jobs:
if: github.repository == 'apache/flink'
permissions:
actions: write
+ concurrency:
+ group: ${{ github.workflow }}-${{ matrix.branch }}
+ cancel-in-progress: true
strategy:
matrix:
branch:
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 7010cf2b25f..e05059742fc 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -21,6 +21,10 @@ name: "Nightly (beta)"
on:
workflow_dispatch:
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
permissions: read-all
jobs:
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 7fe355de74f..83de94cdc17 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -28,6 +28,10 @@ on:
default: 20
type: number
+concurrency:
+ group: ${{ github.workflow }}
+ cancel-in-progress: true
+
permissions:
issues: write
pull-requests: write