Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/camel-launcher-native-exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ name: Camel launcher native exe build
on:
push:
branches:
- main
- camel-4.22.x
paths:
- 'tooling/camel-exe/**'
- 'dsl/camel-jbang/camel-launcher/**'
- '.github/actions/setup-llvm-mingw/**'
- '.github/workflows/camel-launcher-native-exe.yml'
pull_request:
branches:
- main
- camel-4.22.x
paths:
- 'tooling/camel-exe/**'
- 'dsl/camel-jbang/camel-launcher/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name: Main build
on:
push:
branches:
- main
- camel-4.22.x

concurrency:
group: ${{ github.workflow }}-${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package-native-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment thread
gansheer marked this conversation as resolved.
paths:
- 'dsl/camel-jbang/camel-launcher/**'
- 'tooling/camel-exe/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name: Build and test
on:
pull_request:
branches:
- main
- camel-4.22.x

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct addition — note paths-ignore

Adding camel-4.22.x here is the most important change for maintenance-branch PR CI. This PR won't exercise it automatically (paths-ignore: .github/**). Use workflow_dispatch to smoke-test after merge.

# 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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-ci-scripts-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: PR CI scripts validation
on:
pull_request:
branches:
- main
- camel-4.22.x
paths:
- '.github/actions/check-container-upgrade/**'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-doc-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: PR doc validation
on:
pull_request:
branches:
- main
- camel-4.22.x
paths:
- '**.adoc'
- 'docs/**/*'
Expand Down
Loading