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

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 80d18f80d [CI] Solve the problem of starting multiple actions at the 
same time (#883)
80d18f80d is described below

commit 80d18f80d0c9861003fadedf11a4833717000285
Author: Guangdong Liu <[email protected]>
AuthorDate: Wed Apr 12 17:29:42 2023 +0800

    [CI] Solve the problem of starting multiple actions at the same time (#883)
---
 .github/workflows/check-licensing.yml  | 4 ++++
 .github/workflows/code-analysys.yml    | 5 +++++
 .github/workflows/e2e-tests-1.14.yml   | 4 ++++
 .github/workflows/e2e-tests-1.15.yml   | 4 ++++
 .github/workflows/e2e-tests-1.16.yml   | 4 ++++
 .github/workflows/e2e-tests-1.17.yml   | 5 ++++-
 .github/workflows/publish_snapshot.yml | 4 ++++
 .github/workflows/utitcase-flink.yml   | 4 ++++
 .github/workflows/utitcase.yml         | 4 ++++
 9 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/check-licensing.yml 
b/.github/workflows/check-licensing.yml
index 305a6b66c..03af02eb6 100644
--- a/.github/workflows/check-licensing.yml
+++ b/.github/workflows/check-licensing.yml
@@ -17,6 +17,10 @@ name: Check licensing
 
 on: [push, pull_request]
 
+concurrency:
+  group: cl-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/code-analysys.yml 
b/.github/workflows/code-analysys.yml
index 2a27c9a88..31a2e88ec 100644
--- a/.github/workflows/code-analysys.yml
+++ b/.github/workflows/code-analysys.yml
@@ -18,6 +18,11 @@ on:
   schedule:
     - cron: '0 1 * * *'
   workflow_dispatch:
+
+concurrency:
+  group: code-check-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/e2e-tests-1.14.yml 
b/.github/workflows/e2e-tests-1.14.yml
index 4fd19e1f8..f32f10afe 100644
--- a/.github/workflows/e2e-tests-1.14.yml
+++ b/.github/workflows/e2e-tests-1.14.yml
@@ -28,6 +28,10 @@ on:
 env:
   JDK_VERSION: 8
 
+concurrency:
+  group: e2e-tests-14-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/e2e-tests-1.15.yml 
b/.github/workflows/e2e-tests-1.15.yml
index df211a942..4f334a9b6 100644
--- a/.github/workflows/e2e-tests-1.15.yml
+++ b/.github/workflows/e2e-tests-1.15.yml
@@ -28,6 +28,10 @@ on:
 env:
   JDK_VERSION: 8
 
+concurrency:
+  group: e2e-tests-15-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/e2e-tests-1.16.yml 
b/.github/workflows/e2e-tests-1.16.yml
index 39af919e1..292b4b0a1 100644
--- a/.github/workflows/e2e-tests-1.16.yml
+++ b/.github/workflows/e2e-tests-1.16.yml
@@ -28,6 +28,10 @@ on:
 env:
   JDK_VERSION: 8
 
+concurrency:
+  group: e2e-tests-16-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/e2e-tests-1.17.yml 
b/.github/workflows/e2e-tests-1.17.yml
index bf93e7c4e..a2d555959 100644
--- a/.github/workflows/e2e-tests-1.17.yml
+++ b/.github/workflows/e2e-tests-1.17.yml
@@ -28,10 +28,13 @@ on:
 env:
   JDK_VERSION: 8
 
+concurrency:
+  group: e2e-tests-17-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest
-
     steps:
       - name: Checkout code
         uses: actions/checkout@v2
diff --git a/.github/workflows/publish_snapshot.yml 
b/.github/workflows/publish_snapshot.yml
index 62b3eedd6..b8a7749b0 100644
--- a/.github/workflows/publish_snapshot.yml
+++ b/.github/workflows/publish_snapshot.yml
@@ -27,6 +27,10 @@ on:
 env:
   JDK_VERSION: 8
 
+concurrency:
+  group: ps-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   publish-snapshot:
     if: github.repository == 'apache/incubator-paimon'
diff --git a/.github/workflows/utitcase-flink.yml 
b/.github/workflows/utitcase-flink.yml
index db462f9a7..5ec8fb57e 100644
--- a/.github/workflows/utitcase-flink.yml
+++ b/.github/workflows/utitcase-flink.yml
@@ -28,6 +28,10 @@ on:
 env:
   JDK_VERSION: 8
 
+concurrency:
+  group: ut-flink-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/utitcase.yml b/.github/workflows/utitcase.yml
index ac0d84212..c0244b840 100644
--- a/.github/workflows/utitcase.yml
+++ b/.github/workflows/utitcase.yml
@@ -28,6 +28,10 @@ on:
 env:
   JDK_VERSION: 8
 
+concurrency:
+  group: ut-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest

Reply via email to