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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new f16d366e211 Configure GitHub workflow to cancel previous PR check in 
case of new (#1809)
f16d366e211 is described below

commit f16d366e211f61221ad79ac174aee220cfb6c11c
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Fri Jun 5 17:51:29 2026 +0200

    Configure GitHub workflow to cancel previous PR check in case of new (#1809)
    
    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/pr-build-main.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/pr-build-main.yml 
b/.github/workflows/pr-build-main.yml
index 5bbd457f9fb..fb2bb0096e5 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -28,6 +28,10 @@ on:
       - Jenkinsfile.*
       - '*.txt'
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 permissions:
   contents: read
 

Reply via email to