This is an automated email from the ASF dual-hosted git repository. apupier pushed a commit to branch concurrencyPRCancelInProgress in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
commit a1cb4f6138e4b846bae49ad7514202f5e4bf8dd5 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
