diff --git a/.github/workflows/camel-launcher-native-exe.yml b/.github/workflows/camel-launcher-native-exe.yml index 9c571ee280e19..cb067d40d90bb 100644 --- a/.github/workflows/camel-launcher-native-exe.yml +++ b/.github/workflows/camel-launcher-native-exe.yml @@ -23,7 +23,7 @@ name: Camel launcher native exe build on: push: branches: - - main + - camel-4.22.x paths: - 'tooling/camel-exe/**' - 'dsl/camel-jbang/camel-launcher/**' @@ -31,7 +31,7 @@ on: - '.github/workflows/camel-launcher-native-exe.yml' pull_request: branches: - - main + - camel-4.22.x paths: - 'tooling/camel-exe/**' - 'dsl/camel-jbang/camel-launcher/**' diff --git a/.github/workflows/package-native-validation.yml b/.github/workflows/package-native-validation.yml index 91092d0727cdd..4027b4b6c79a0 100644 --- a/.github/workflows/package-native-validation.yml +++ b/.github/workflows/package-native-validation.yml @@ -20,14 +20,14 @@ name: Package-native validation on: push: branches: - - main + - camel-4.22.x paths: - 'dsl/camel-jbang/camel-launcher/**' - 'tooling/camel-exe/**' - '.github/workflows/package-native-validation.yml' pull_request: branches: - - main + - camel-4.22.x paths: - 'dsl/camel-jbang/camel-launcher/**' - 'tooling/camel-exe/**' diff --git a/.github/workflows/pr-build-main.yml b/.github/workflows/pr-build-main.yml index 7b9a9e4689f2c..695bde2375745 100644 --- a/.github/workflows/pr-build-main.yml +++ b/.github/workflows/pr-build-main.yml @@ -20,7 +20,7 @@ name: Build and test on: pull_request: branches: - - main + - camel-4.22.x # CI-only changes don't need a full build. Use workflow_dispatch to # test CI changes: gh workflow run "Build and test" -f pr_number=XXXX -f pr_ref=branch-name paths-ignore: @@ -90,7 +90,7 @@ jobs: # Scalpel needs the merge base between HEAD and the base branch. # The checkout is depth=1; progressively deepen: 50 → 200 → 1000 → full. # Scalpel is observational — fetch failures must not break the build. - BASE_REF="${GITHUB_BASE_REF:-main}" + BASE_REF="${GITHUB_BASE_REF:-camel-4.22.x}" for depth in 50 200 1000; do git fetch --deepen=$depth 2>/dev/null || true git fetch --no-tags --depth=$depth origin "${BASE_REF}:refs/remotes/origin/${BASE_REF}" 2>/dev/null || true diff --git a/.github/workflows/pr-ci-scripts-validation.yml b/.github/workflows/pr-ci-scripts-validation.yml index 9697d7c676f21..a4690bf2aa59b 100644 --- a/.github/workflows/pr-ci-scripts-validation.yml +++ b/.github/workflows/pr-ci-scripts-validation.yml @@ -19,7 +19,7 @@ name: PR CI scripts validation on: pull_request: branches: - - main + - camel-4.22.x paths: - '.github/actions/check-container-upgrade/**' diff --git a/.github/workflows/sonar-build.yml b/.github/workflows/sonar-build.yml index 27c1667d5e33e..a54e8ff830852 100644 --- a/.github/workflows/sonar-build.yml +++ b/.github/workflows/sonar-build.yml @@ -20,7 +20,7 @@ name: SonarBuild on: pull_request: branches: - - main + - camel-4.22.x paths-ignore: - README.md - SECURITY.md