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

apupier pushed a commit to branch concurrencyPRcancel
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git

commit 9b6703674fb1a4211a6230e4b3237b002bca51dd
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Fri Jun 5 15:49:20 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/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 53a2bb3..58d69ff 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -27,6 +27,10 @@ on:
       - NOTICE.txt
       - LICENSE.txt
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
+  cancel-in-progress: true
+
 jobs:
   compile:
     if: github.repository == 'apache/camel-performance-tests'

Reply via email to