File tree Expand file tree Collapse file tree 3 files changed +30
-5
lines changed
Expand file tree Collapse file tree 3 files changed +30
-5
lines changed Original file line number Diff line number Diff line change 11name : CI
22
33on :
4- pull_request :
5- paths-ignore :
6- - ' README.md'
7- branches :
8- - ' **'
94 workflow_call :
5+ inputs :
6+ ci_target_ref :
7+ required : true
8+ type : string
109
1110env :
1211 ROS_DISTRO : jazzy
2322 - uses : actions/checkout@v4
2423 with :
2524 path : src/micro_ros_setup
25+ ref : ${{ inputs.ci_target_ref }}
2626
2727 -
uses :
ros-tooling/[email protected] 2828 with :
6161 - uses : actions/checkout@v4
6262 with :
6363 path : src/micro_ros_setup
64+ ref : ${{ inputs.ci_target_ref }}
6465
6566 -
uses :
ros-tooling/[email protected] 6667 with :
@@ -202,6 +203,7 @@ jobs:
202203 - uses : actions/checkout@v4
203204 with :
204205 path : src/micro_ros_setup
206+ ref : ${{ inputs.ci_target_ref }}
205207
206208 -
uses :
ros-tooling/[email protected] 207209 with :
Original file line number Diff line number Diff line change @@ -12,12 +12,20 @@ jobs:
1212
1313 Jazzy :
1414 uses : micro-ROS/micro_ros_setup/.github/workflows/ci.yml@jazzy
15+ with :
16+ ci_target_ref : ' jazzy'
1517
1618 Rolling :
1719 uses : micro-ROS/micro_ros_setup/.github/workflows/ci.yml@rolling
20+ with :
21+ ci_target_ref : ' rolling'
1822
1923 Humble :
2024 uses : micro-ROS/micro_ros_setup/.github/workflows/ci.yml@humble
25+ with :
26+ ci_target_ref : ' humble'
2127
2228 Iron :
2329 uses : micro-ROS/micro_ros_setup/.github/workflows/ci.yml@iron
30+ with :
31+ ci_target_ref : ' iron'
Original file line number Diff line number Diff line change 1+ name : Pull Request CI
2+
3+ on :
4+ pull_request :
5+ paths-ignore :
6+ - ' README.md'
7+ branches :
8+ - ' **'
9+
10+ jobs :
11+
12+ CI :
13+ uses : ./.github/workflows/ci.yml
14+ with :
15+ ci_target_ref : ${{ github.event.pull_request.head.ref }}
You can’t perform that action at this time.
0 commit comments