This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch fix/CAMEL-24081 in repository https://gitbox.apache.org/repos/asf/camel.git
commit 8b2d20368fdfed6b6c71bdae9528f2cf4bddba71 Author: Claus Ibsen <[email protected]> AuthorDate: Wed Jul 15 13:11:57 2026 +0200 CAMEL-24081: ci - Do not run Windows launcher check on unrelated PRs Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- .github/workflows/camel-launcher-windows.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/camel-launcher-windows.yml b/.github/workflows/camel-launcher-windows.yml index d6a9cca15176..f4032f6ce108 100644 --- a/.github/workflows/camel-launcher-windows.yml +++ b/.github/workflows/camel-launcher-windows.yml @@ -21,9 +21,17 @@ on: push: branches: - main + paths: + - 'tooling/camel-exe/**' + - 'dsl/camel-jbang/camel-launcher/**' + - '.github/workflows/camel-launcher-windows.yml' pull_request: branches: - main + paths: + - 'tooling/camel-exe/**' + - 'dsl/camel-jbang/camel-launcher/**' + - '.github/workflows/camel-launcher-windows.yml' workflow_dispatch: concurrency: @@ -43,8 +51,7 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - # 50 commits covers any reasonable push batch; PRs fetch the base ref below. - fetch-depth: 50 + fetch-depth: 0 - id: changes run: | if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then @@ -54,7 +61,6 @@ jobs: fi if [ "${{ github.event_name }}" = "pull_request" ]; then - git fetch origin "${{ github.base_ref }}" --depth=1 CHANGED="$(git diff --name-only "origin/${{ github.base_ref }}"...HEAD)" else CHANGED="$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}")"
