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

apupier pushed a commit to branch 
dependabot/npm_and_yarn/antora-ui-camel/handlebars-4.7.9
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit ee6aacb528c3c5cde1e40b041d133f011762282f
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Fri Jun 5 15:27:33 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.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