This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.10 by this push:
     new 5d2c9851f4f [improve][CI] Cancel duplicate build jobs for maintenance 
branches
5d2c9851f4f is described below

commit 5d2c9851f4f4d70bfe74b1e683a41c5a040a6ca7
Author: Lari Hotari <[email protected]>
AuthorDate: Tue Aug 30 15:06:26 2022 +0300

    [improve][CI] Cancel duplicate build jobs for maintenance branches
    
    - GitHub Actions build queue is long
    - reduce overhead of cherry-picking by cancelling previous jobs
---
 .github/workflows/ci-build-macos.yaml                         | 4 ++++
 .github/workflows/ci-cpp-build-windows.yaml                   | 4 ++++
 .github/workflows/ci-cpp.yaml                                 | 4 ++++
 .github/workflows/ci-go-functions-style.yaml                  | 4 ++++
 .github/workflows/ci-go-functions-test.yaml                   | 4 ++++
 .github/workflows/ci-integration-backwards-compatibility.yaml | 4 ++++
 .github/workflows/ci-integration-cli.yaml                     | 4 ++++
 .github/workflows/ci-integration-function.yaml                | 4 ++++
 .github/workflows/ci-integration-messaging.yaml               | 4 ++++
 .github/workflows/ci-integration-process.yaml                 | 4 ++++
 .github/workflows/ci-integration-pulsar-io-ora.yaml           | 4 ++++
 .github/workflows/ci-integration-pulsar-io.yaml               | 4 ++++
 .github/workflows/ci-integration-schema.yaml                  | 4 ++++
 .github/workflows/ci-integration-sql.yaml                     | 4 ++++
 .github/workflows/ci-integration-standalone.yaml              | 4 ++++
 .github/workflows/ci-integration-thread.yaml                  | 4 ++++
 .github/workflows/ci-integration-tiered-filesystem.yaml       | 4 ++++
 .github/workflows/ci-integration-tiered-jcloud.yaml           | 4 ++++
 .github/workflows/ci-integration-transaction.yaml             | 4 ++++
 .github/workflows/ci-license.yaml                             | 4 ++++
 .github/workflows/ci-owasp-dep-check.yaml                     | 4 ++++
 .github/workflows/ci-shade-test.yaml                          | 4 ++++
 .github/workflows/ci-unit-broker-broker-gp.yaml               | 4 ++++
 .github/workflows/ci-unit-broker-client-api.yaml              | 4 ++++
 .github/workflows/ci-unit-broker-client-impl.yaml             | 4 ++++
 .github/workflows/ci-unit-broker-jdk8.yaml                    | 4 ++++
 .github/workflows/ci-unit-broker-other.yaml                   | 4 ++++
 .github/workflows/ci-unit-proxy.yaml                          | 4 ++++
 .github/workflows/ci-unit.yaml                                | 4 ++++
 29 files changed, 116 insertions(+)

diff --git a/.github/workflows/ci-build-macos.yaml 
b/.github/workflows/ci-build-macos.yaml
index af8b76fbfb0..8eef5c6557a 100644
--- a/.github/workflows/ci-build-macos.yaml
+++ b/.github/workflows/ci-build-macos.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-cpp-build-windows.yaml 
b/.github/workflows/ci-cpp-build-windows.yaml
index 5d31de27656..a431de88f3d 100644
--- a/.github/workflows/ci-cpp-build-windows.yaml
+++ b/.github/workflows/ci-cpp-build-windows.yaml
@@ -32,6 +32,10 @@ on:
       - '.github/workflows/**'
       - 'pulsar-client-cpp/**'
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   VCPKG_FEATURE_FLAGS: manifests
 
diff --git a/.github/workflows/ci-cpp.yaml b/.github/workflows/ci-cpp.yaml
index d5964b9a0de..34197fa2022 100644
--- a/.github/workflows/ci-cpp.yaml
+++ b/.github/workflows/ci-cpp.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-go-functions-style.yaml 
b/.github/workflows/ci-go-functions-style.yaml
index 8221314f15a..a24b7b499c7 100644
--- a/.github/workflows/ci-go-functions-style.yaml
+++ b/.github/workflows/ci-go-functions-style.yaml
@@ -32,6 +32,10 @@ on:
       - '.github/workflows/**'
       - 'pulsar-function-go/**'
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-go-functions-test.yaml 
b/.github/workflows/ci-go-functions-test.yaml
index 963d294354b..292e1faae79 100644
--- a/.github/workflows/ci-go-functions-test.yaml
+++ b/.github/workflows/ci-go-functions-test.yaml
@@ -32,6 +32,10 @@ on:
       - '.github/workflows/**'
       - 'pulsar-function-go/**'
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-integration-backwards-compatibility.yaml 
b/.github/workflows/ci-integration-backwards-compatibility.yaml
index 9c6ca8fb6d6..c6d133e2217 100644
--- a/.github/workflows/ci-integration-backwards-compatibility.yaml
+++ b/.github/workflows/ci-integration-backwards-compatibility.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-cli.yaml 
b/.github/workflows/ci-integration-cli.yaml
index 63d7099d59c..aaa56f9fae8 100644
--- a/.github/workflows/ci-integration-cli.yaml
+++ b/.github/workflows/ci-integration-cli.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-function.yaml 
b/.github/workflows/ci-integration-function.yaml
index 2ad5c6f63ee..dfe88d1f352 100644
--- a/.github/workflows/ci-integration-function.yaml
+++ b/.github/workflows/ci-integration-function.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-messaging.yaml 
b/.github/workflows/ci-integration-messaging.yaml
index b973829a305..892fae81d74 100644
--- a/.github/workflows/ci-integration-messaging.yaml
+++ b/.github/workflows/ci-integration-messaging.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-process.yaml 
b/.github/workflows/ci-integration-process.yaml
index 1ebbc4376df..71df00484ae 100644
--- a/.github/workflows/ci-integration-process.yaml
+++ b/.github/workflows/ci-integration-process.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-pulsar-io-ora.yaml 
b/.github/workflows/ci-integration-pulsar-io-ora.yaml
index 47f1774b7d3..54dea356216 100644
--- a/.github/workflows/ci-integration-pulsar-io-ora.yaml
+++ b/.github/workflows/ci-integration-pulsar-io-ora.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-pulsar-io.yaml 
b/.github/workflows/ci-integration-pulsar-io.yaml
index 7e694c16f8b..0b3f2a37668 100644
--- a/.github/workflows/ci-integration-pulsar-io.yaml
+++ b/.github/workflows/ci-integration-pulsar-io.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-schema.yaml 
b/.github/workflows/ci-integration-schema.yaml
index 0c9e750c855..9b36a986e9a 100644
--- a/.github/workflows/ci-integration-schema.yaml
+++ b/.github/workflows/ci-integration-schema.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-sql.yaml 
b/.github/workflows/ci-integration-sql.yaml
index 7710ee6e4f8..ba9c29f3c10 100644
--- a/.github/workflows/ci-integration-sql.yaml
+++ b/.github/workflows/ci-integration-sql.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Xmx768m -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-standalone.yaml 
b/.github/workflows/ci-integration-standalone.yaml
index 61e981bfba1..c39f41485d9 100644
--- a/.github/workflows/ci-integration-standalone.yaml
+++ b/.github/workflows/ci-integration-standalone.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-thread.yaml 
b/.github/workflows/ci-integration-thread.yaml
index ca6fc0fea14..7f1b7e03ba7 100644
--- a/.github/workflows/ci-integration-thread.yaml
+++ b/.github/workflows/ci-integration-thread.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-tiered-filesystem.yaml 
b/.github/workflows/ci-integration-tiered-filesystem.yaml
index c3b6e65a060..483afa21819 100644
--- a/.github/workflows/ci-integration-tiered-filesystem.yaml
+++ b/.github/workflows/ci-integration-tiered-filesystem.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-tiered-jcloud.yaml 
b/.github/workflows/ci-integration-tiered-jcloud.yaml
index 426491486dd..655c3bb5473 100644
--- a/.github/workflows/ci-integration-tiered-jcloud.yaml
+++ b/.github/workflows/ci-integration-tiered-jcloud.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-integration-transaction.yaml 
b/.github/workflows/ci-integration-transaction.yaml
index a4b6f2d4ea8..66815250d73 100644
--- a/.github/workflows/ci-integration-transaction.yaml
+++ b/.github/workflows/ci-integration-transaction.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-license.yaml 
b/.github/workflows/ci-license.yaml
index 8965bd07684..f4c58d9f307 100644
--- a/.github/workflows/ci-license.yaml
+++ b/.github/workflows/ci-license.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-owasp-dep-check.yaml 
b/.github/workflows/ci-owasp-dep-check.yaml
index bcce2b78368..d6e67305348 100644
--- a/.github/workflows/ci-owasp-dep-check.yaml
+++ b/.github/workflows/ci-owasp-dep-check.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-shade-test.yaml 
b/.github/workflows/ci-shade-test.yaml
index 981f8bd5a88..2f411f1a651 100644
--- a/.github/workflows/ci-shade-test.yaml
+++ b/.github/workflows/ci-shade-test.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   UBUNTU_MIRROR: http://azure.archive.ubuntu.com/ubuntu/
diff --git a/.github/workflows/ci-unit-broker-broker-gp.yaml 
b/.github/workflows/ci-unit-broker-broker-gp.yaml
index ac151e6a588..cf6bdf1fa69 100644
--- a/.github/workflows/ci-unit-broker-broker-gp.yaml
+++ b/.github/workflows/ci-unit-broker-broker-gp.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-unit-broker-client-api.yaml 
b/.github/workflows/ci-unit-broker-client-api.yaml
index 1bd3c900a3c..e18b798ce98 100644
--- a/.github/workflows/ci-unit-broker-client-api.yaml
+++ b/.github/workflows/ci-unit-broker-client-api.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-unit-broker-client-impl.yaml 
b/.github/workflows/ci-unit-broker-client-impl.yaml
index 858793eb5a8..27d3faa777d 100644
--- a/.github/workflows/ci-unit-broker-client-impl.yaml
+++ b/.github/workflows/ci-unit-broker-client-impl.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-unit-broker-jdk8.yaml 
b/.github/workflows/ci-unit-broker-jdk8.yaml
index fe6fbf69ec2..d16597f4eb0 100644
--- a/.github/workflows/ci-unit-broker-jdk8.yaml
+++ b/.github/workflows/ci-unit-broker-jdk8.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-unit-broker-other.yaml 
b/.github/workflows/ci-unit-broker-other.yaml
index c78bb3b3b76..0b6ad8289ac 100644
--- a/.github/workflows/ci-unit-broker-other.yaml
+++ b/.github/workflows/ci-unit-broker-other.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-unit-proxy.yaml 
b/.github/workflows/ci-unit-proxy.yaml
index 3dda02f7839..dd442a8da75 100644
--- a/.github/workflows/ci-unit-proxy.yaml
+++ b/.github/workflows/ci-unit-proxy.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 
diff --git a/.github/workflows/ci-unit.yaml b/.github/workflows/ci-unit.yaml
index f4bd80fe9b5..09698576296 100644
--- a/.github/workflows/ci-unit.yaml
+++ b/.github/workflows/ci-unit.yaml
@@ -26,6 +26,10 @@ on:
     branches:
       - branch-*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
 

Reply via email to