mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Backport of #26781 with the follow-up fix from #27000 folded in. On release branches, the ROS integration test now clones a matching branch from Auterion/px4-ros2-interface-lib instead of always using main, preventing build failures from uORB message divergence between main and release branches. Branch resolution uses GITHUB_BASE_REF on pull requests (the branch the code is merging into) and falls back to GITHUB_REF_NAME for direct pushes, so backport PRs resolve to their target release branch instead of the PR author's branch. Fixes https://github.com/Auterion/px4-ros2-interface-lib/issues/184 Signed-off-by: Ramon Roche <mrpollo@gmail.com>