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-spring-boot-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 2a30af50 Configure GitHub workflow to cancel previous PR check in case
of new commits on same PR
2a30af50 is described below
commit 2a30af50a1db53a9f51391f01402aefa235349ea
Author: Aurélien Pupier <[email protected]>
AuthorDate: Fri Jun 5 15:47:00 2026 +0200
Configure GitHub workflow to cancel previous PR check in case of new
commits on same PR
It will save some resources in case of new commit on a branch PR and PR
checks were not finished
Apache committers can see recommendations here
https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=INFRA&title=GitHub+Actions+Recommended+Practices
Signed-off-by: Aurélien Pupier <[email protected]>
---
.github/workflows/master-pr-build.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/master-pr-build.yml
b/.github/workflows/master-pr-build.yml
index f0edc158..97ee4815 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -21,6 +21,9 @@ on:
pull_request:
branches:
- main
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
+ cancel-in-progress: true
jobs:
build:
if: github.repository == 'apache/camel-spring-boot-examples'