CI: build when pushed to branch, using same branch name upstream

This commit is contained in:
matlabbe
2024-11-30 20:00:44 -08:00
parent 723ac7cdba
commit c131062fd5
+3 -3
View File
@@ -3,9 +3,9 @@ name: ros2
on:
push:
branches: [ ros2 ]
branches: [ humble-devel ]
pull_request:
branches: [ ros2 ]
branches: [ humble-devel ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@@ -34,7 +34,7 @@ jobs:
with:
required-ros-distributions: ${{ matrix.ros_distro }}
- run: |
echo "repositories:\n introlab/rtabmap:\n type: git\n url: https://github.com/introlab/rtabmap.git\n version: master\n" > /tmp/deps.repos &&\
echo "repositories:\n introlab/rtabmap:\n type: git\n url: https://github.com/introlab/rtabmap.git\n version: humble-devel\n" > /tmp/deps.repos &&\
cat /tmp/deps.repos
- uses: ros-tooling/[email protected]
with: