Skip to content

chore(ci): add main branch build workflow and concurrency control#21720

Merged
gnodet merged 2 commits intomainfrom
chore/add-main-build-workflow
Mar 5, 2026
Merged

chore(ci): add main branch build workflow and concurrency control#21720
gnodet merged 2 commits intomainfrom
chore/add-main-build-workflow

Conversation

@gnodet
Copy link
Contributor

@gnodet gnodet commented Mar 5, 2026

Summary

  • Add main-build.yml workflow for push builds on main and release branches (camel-4.10.x, camel-4.14.x) with JDK 21
  • Add concurrency groups with cancel-in-progress: true to PR workflows (pr-build-main, depsreview, pr-doc-validation, pr-id) so outdated CI runs are automatically cancelled when a PR is updated

Supersedes #20226 (rebased onto current main with updated action versions and JDK 17 dropped).

Test plan

  • CI passes on this PR
  • Verify concurrency groups cancel previous runs on PR update
  • Verify main-build workflow triggers on push to main

🤖 Generated with Claude Code

- Add main-build.yml workflow for push builds on main and release branches
  (camel-4.10.x, camel-4.14.x) with JDK 21
- Add concurrency groups with cancel-in-progress to PR workflows
  (pr-build-main, depsreview, pr-doc-validation, pr-id) to cancel
  outdated runs when a PR is updated

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using build-all, build-dependents, skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

push:
branches:
- main
- camel-4.10.x
Copy link
Contributor

Choose a reason for hiding this comment

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

camel-4.18.x is missing, I think camel-4.10.x should be replaced with camel-4.18.x, I just did something similar to the jenkinsfiles, maybe the same need to be done on the GitHub

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah 4.10 is EOL

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet merged commit 6c8838e into main Mar 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants