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

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit bf99380213fc1f76cbbf1f44c604538b67a2f4c5
Author: Aurélien Pupier <[email protected]>
AuthorDate: Thu Oct 22 11:02:50 2026 +0200

    Restore -jdk25 concurrency suffix to prevent PR build cancellation
    
    Removing the suffix caused the workflow_dispatch run (jdk25_only=true)
    to share the same concurrency group as the pull_request run for the
    same PR number. With cancel-in-progress: true, whichever started second
    cancelled the other.
    
    Both fixes are now in place together:
    - jdk25_only=true skips the build (JDK 21) job — no duplicate JDK 21
    - '-jdk25' suffix on the group key — no cancellation of the PR check
---
 .github/workflows/pr-build-main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pr-build-main.yml 
b/.github/workflows/pr-build-main.yml
index 61825c366ec7..4b01a13169b0 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -61,7 +61,7 @@ on:
         default: false
 
 concurrency:
-  group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
inputs.pr_number || github.ref }}${{ inputs.extra_modules && '-component-test' 
|| '' }}
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
inputs.pr_number || github.ref }}${{ inputs.extra_modules && '-component-test' 
|| '' }}${{ inputs.jdk25_only && '-jdk25' || '' }}
   cancel-in-progress: true
 
 permissions:

Reply via email to