From e396964d8383084e4096415efb37b8d4d321f6e5 Mon Sep 17 00:00:00 2001 From: Maia Date: Wed, 24 Dec 2025 14:48:42 +0100 Subject: [PATCH] ci: Skip CI for version bump commits --- .github/workflows/MainDistributionPipeline.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/MainDistributionPipeline.yml b/.github/workflows/MainDistributionPipeline.yml index 63463dc..2a2463d 100644 --- a/.github/workflows/MainDistributionPipeline.yml +++ b/.github/workflows/MainDistributionPipeline.yml @@ -6,11 +6,9 @@ on: push: pull_request: workflow_dispatch: - concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }} cancel-in-progress: true - jobs: duckdb-stable-build: name: Build extension binaries @@ -20,7 +18,7 @@ jobs: duckdb_version: v1.4.0 ci_tools_version: v1.4.0 exclude_archs: '' - + if: (github.event_name != 'push' || !contains(lower(join(github.event.commits.*.message, ' ')), 'bump to')) && (github.event_name != 'pull_request' || !contains(lower(github.event.pull_request.title), 'bump to')) duckdb-stable-deploy: name: Deploy extension binaries needs: duckdb-stable-build @@ -32,3 +30,4 @@ jobs: ci_tools_version: v1.4.0 exclude_archs: '' deploy_latest: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }} + if: (github.event_name != 'push' || !contains(lower(join(github.event.commits.*.message, ' ')), 'bump to')) && (github.event_name != 'pull_request' || !contains(lower(github.event.pull_request.title), 'bump to'))