You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ap...@apache.org on 2026/06/05 13:50:34 UTC

(camel-performance-tests) branch concurrencyPRcancel created (now 9b67036)

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

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


      at 9b67036  Configure GitHub workflow to cancel previous PR check in case of new commits on same PR

This branch includes the following new commits:

     new 9b67036  Configure GitHub workflow to cancel previous PR check in case of new commits on same PR

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(camel-performance-tests) 01/01: Configure GitHub workflow to cancel previous PR check in case of new commits on same PR

Posted by ap...@apache.org.
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 <ap...@ibm.com>
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 <ap...@ibm.com>
---
 .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'