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

djwang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry-pxf.git


The following commit(s) were added to refs/heads/main by this push:
     new 19ffc632 CI: allow concurrent workflows on main branch
19ffc632 is described below

commit 19ffc632b29e7c18e173e64389ad705006b0604d
Author: Dianjin Wang <[email protected]>
AuthorDate: Wed Jan 28 13:53:44 2026 +0800

    CI: allow concurrent workflows on main branch
    
    Previously, CI workflows triggered by pushes to the main branch were grouped
    by `${{ github.workflow }}-${{ github.ref }}` with `cancel-in-progress: 
true`.
    As a result, when multiple PRs were merged in a short period of time, a 
newly
    merged commit would cancel the CI workflow of the previous commit.
    
    This change removes the cancellation behavior so that CI workflows for
    different commits on the main branch can run in parallel. This ensures that
    each merged commit is fully validated by CI and avoids losing test results
    due to automatic cancellation.
    
    No changes to the CI steps themselves; only the workflow concurrency 
behavior
    is adjusted.
---
 .github/workflows/pxf-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pxf-ci.yml b/.github/workflows/pxf-ci.yml
index 795345ad..83188f35 100644
--- a/.github/workflows/pxf-ci.yml
+++ b/.github/workflows/pxf-ci.yml
@@ -12,7 +12,7 @@ permissions:
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
+  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
 
 env:
   JAVA_VERSION: "11"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to