This is an automated email from the ASF dual-hosted git repository.
kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new 56b10d7e35 Build: Cancel superseded PR runs in lightweight CI
workflows (#16771)
56b10d7e35 is described below
commit 56b10d7e35729a7a59b07068217fa4819dd31a50
Author: Vova Kolmakov <[email protected]>
AuthorDate: Wed Oct 21 05:14:31 2026 +0700
Build: Cancel superseded PR runs in lightweight CI workflows (#16771)
Co-authored-by: Vova Kolmakov <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
---
.github/workflows/asf-allowlist-check.yml | 4 ++++
.github/workflows/docs-ci.yml | 4 ++++
.github/workflows/license-check.yml | 4 ++++
.github/workflows/zizmor.yml | 4 ++++
4 files changed, 16 insertions(+)
diff --git a/.github/workflows/asf-allowlist-check.yml
b/.github/workflows/asf-allowlist-check.yml
index b310e75c05..ef234bd8ff 100644
--- a/.github/workflows/asf-allowlist-check.yml
+++ b/.github/workflows/asf-allowlist-check.yml
@@ -32,6 +32,10 @@ on:
permissions:
contents: read
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
asf-allowlist-check:
runs-on: ubuntu-24.04
diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml
index d43573f083..42e110adf1 100644
--- a/.github/workflows/docs-ci.yml
+++ b/.github/workflows/docs-ci.yml
@@ -28,6 +28,10 @@ on:
permissions:
contents: read
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
build-docs:
runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/license-check.yml
b/.github/workflows/license-check.yml
index aa6c0a4451..7d44ae36c7 100644
--- a/.github/workflows/license-check.yml
+++ b/.github/workflows/license-check.yml
@@ -23,6 +23,10 @@ on: pull_request
permissions:
contents: read
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
rat:
runs-on: ubuntu-24.04
diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml
index e68a082354..d0ce330474 100644
--- a/.github/workflows/zizmor.yml
+++ b/.github/workflows/zizmor.yml
@@ -27,6 +27,10 @@ on:
permissions: {}
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
zizmor:
name: Run zizmor 🌈