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-examples.git


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

commit 61f790f91f0f77f13bf85f2243d2c02b9368f7bd
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Fri Jun 5 19:05:47 2026 +0200

    Configure GitHub workflow to cancel previous PR check in case of new (#199)
    
    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 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/master-pr-build.yml 
b/.github/workflows/master-pr-build.yml
index c118c3cb..67d03c03 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -21,6 +21,11 @@ on:
   pull_request:
     branches:
       - main
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest

Reply via email to