This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new a98acd304531 [build] Don't cancel in-progress main branch builds
(#22051)
a98acd304531 is described below
commit a98acd304531f3232afd689bfcf5fba4e740ba37
Author: Guillaume Nodet <[email protected]>
AuthorDate: Tue Mar 17 10:45:12 2026 +0100
[build] Don't cancel in-progress main branch builds (#22051)
Use commit SHA instead of branch ref for the concurrency group so each
commit on main gets its own build. Previously, pushing a new commit
would cancel the in-progress build, making it impossible to see which
commit actually broke the build.
Co-authored-by: Claude Opus 4.6 <[email protected]>
---
.github/workflows/main-build.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml
index 47251f27ac99..95419d8c7d2e 100644
--- a/.github/workflows/main-build.yml
+++ b/.github/workflows/main-build.yml
@@ -25,8 +25,8 @@ on:
- camel-4.18.x
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ group: ${{ github.workflow }}-${{ github.sha }}
+ cancel-in-progress: false
permissions:
contents: read