This is an automated email from the ASF dual-hosted git repository. imbruced pushed a commit to branch SEDONA-732-stop-previous-pipelines-after-push in repository https://gitbox.apache.org/repos/asf/sedona.git
commit 687a20e9ca05fb28a8fd23bcea22dcc0ec5380cf Author: pawelkocinski <[email protected]> AuthorDate: Mon Apr 21 22:12:55 2025 +0200 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 59025cfb7b..2bc05d3acc 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..6b7da7a156 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 @@ -95,6 +99,7 @@ jobs: with: distribution: 'zulu' java-version: '8' + - run: echo ${{ github.ref }} - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} 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
