This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 4c5e8351 Configure GitHub workflow to cancel previous PR check in case
of new commits on same PR
4c5e8351 is described below
commit 4c5e8351ce6067b5cdc812d6d028fcda899d2c7a
Author: Aurélien Pupier <[email protected]>
AuthorDate: Fri Jun 5 15:54:35 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/app.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml
index 63122e63..e269b6df 100644
--- a/.github/workflows/app.yml
+++ b/.github/workflows/app.yml
@@ -8,6 +8,10 @@ on:
pull_request:
branches: [ main ]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
env:
REGISTRY: ghcr.io
TAG: 4.18.1