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-performance-tests.git
The following commit(s) were added to refs/heads/main by this push:
new afbb5b1 Configure GitHub workflow to cancel previous PR check in case
of new commits on same PR
afbb5b1 is described below
commit afbb5b1fb222dcdb919b90c547f576d9c8cdaf7b
Author: Aurélien Pupier <[email protected]>
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 <[email protected]>
---
.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'