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


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

commit 8af8f139029d2b4634c426a9a3051efd479a88f3
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Fri Jun 5 17:32:36 2026 +0200

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

diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml
index cec395e7..90c9841b 100644
--- a/.github/workflows/pr.yaml
+++ b/.github/workflows/pr.yaml
@@ -19,6 +19,10 @@ name: Pull request checks
 
 on: pull_request
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
+  cancel-in-progress: true
+
 env:
   CAMEL_ENV: production
   HUGO_OPTIONS: '--buildFuture'

Reply via email to