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

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new cc41bcaee8 [SEDONA-732] Stop previously running jobs when after new 
push to the PR (#1924)
cc41bcaee8 is described below

commit cc41bcaee825e9f67cb05bdcfa1c800c7ad7cd15
Author: PaweÅ‚ Tokaj <[email protected]>
AuthorDate: Tue Apr 29 20:16:38 2025 +0200

    [SEDONA-732] Stop previously running jobs when after new push to the PR 
(#1924)
    
    * SEDONA-732 cancel the pipelines after update
    
    * SEDONA-732 cancel the pipelines after update
    
    * SEDONA-732 cancel the pipelines after update
---
 .github/workflows/docker-build.yml      | 4 ++++
 .github/workflows/docs.yml              | 4 ++++
 .github/workflows/example.yml           | 4 ++++
 .github/workflows/first-interaction.yml | 4 ++++
 .github/workflows/java.yml              | 4 ++++
 .github/workflows/lint.yml              | 4 ++++
 .github/workflows/python-extension.yml  | 4 ++++
 .github/workflows/python-wheel.yml      | 4 ++++
 .github/workflows/python.yml            | 5 +++++
 .github/workflows/r.yml                 | 4 ++++
 10 files changed, 41 insertions(+)

diff --git a/.github/workflows/docker-build.yml 
b/.github/workflows/docker-build.yml
index 627519df1a..2d083a918f 100644
--- a/.github/workflows/docker-build.yml
+++ b/.github/workflows/docker-build.yml
@@ -33,6 +33,10 @@ on:
 env:
   MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
+
 permissions:
   contents: read
 
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 6152ccd95d..eb2c8e67f0 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -29,6 +29,10 @@ on:
 env:
   MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
+
 jobs:
   build:
     runs-on: ubuntu-22.04
diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml
index 776791c6c0..7668c1886c 100644
--- a/.github/workflows/example.yml
+++ b/.github/workflows/example.yml
@@ -33,6 +33,10 @@ on:
 permissions:
   contents: read
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
+
 jobs:
   build:
     runs-on: ubuntu-22.04
diff --git a/.github/workflows/first-interaction.yml 
b/.github/workflows/first-interaction.yml
index 9007c0f79c..ef8dcd6da9 100644
--- a/.github/workflows/first-interaction.yml
+++ b/.github/workflows/first-interaction.yml
@@ -23,6 +23,10 @@ on:
   pull_request:
     types: [opened]
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
+
 jobs:
   first-interaction:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml
index 6a62b3beb4..6ff667ec65 100644
--- a/.github/workflows/java.yml
+++ b/.github/workflows/java.yml
@@ -50,6 +50,10 @@ env:
 permissions:
   contents: read
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
+
 jobs:
   build:
     runs-on: ubuntu-22.04
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index f2b6e1d55a..69066517e4 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -22,6 +22,10 @@ on: [pull_request]
 permissions:
   contents: read
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
+
 jobs:
   pre-commit:
     name: Run pre-commit # https://pre-commit.com/
diff --git a/.github/workflows/python-extension.yml 
b/.github/workflows/python-extension.yml
index 0e29734073..eef0c26e61 100644
--- a/.github/workflows/python-extension.yml
+++ b/.github/workflows/python-extension.yml
@@ -42,6 +42,10 @@ on:
 permissions:
   contents: read
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
+
 jobs:
   build:
     strategy:
diff --git a/.github/workflows/python-wheel.yml 
b/.github/workflows/python-wheel.yml
index e0f6b003ee..7bdc60f9e0 100644
--- a/.github/workflows/python-wheel.yml
+++ b/.github/workflows/python-wheel.yml
@@ -39,6 +39,10 @@ on:
       - 'python/**'
       - '.github/workflows/python-wheel.yml'
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
+
 jobs:
   build:
     strategy:
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 3aed288efa..5297cdca31 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -49,6 +49,10 @@ env:
 permissions:
   contents: read
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
+
 jobs:
   build:
     runs-on: ubuntu-22.04
@@ -87,6 +91,7 @@ jobs:
           - spark: '3.3.0'
             scala: '2.12.8'
             python: '3.8'
+
     env:
       VENV_PATH: /home/runner/.local/share/virtualenvs/python-${{ 
matrix.python }}
     steps:
diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml
index b4105b652e..2f5ae08ca7 100644
--- a/.github/workflows/r.yml
+++ b/.github/workflows/r.yml
@@ -43,6 +43,10 @@ env:
   MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
   DO_NOT_TRACK: true
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
+
 jobs:
   build:
     runs-on: ubuntu-22.04

Reply via email to