File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 44
44
container :
45
45
image : ${{ matrix.docker_image }}
46
46
steps :
47
- - uses : actions/checkout@v4
47
+ - uses : actions/checkout@v5
48
+ with :
49
+ fetch-depth : 0
48
50
49
51
- name : Setup ROS environment
50
52
uses :
ros-tooling/[email protected]
71
73
72
74
- name : Submit PR
73
75
run : |
74
- cd rclrs/src
75
76
if git diff --exit-code; then
76
77
exit 0
77
78
fi
@@ -80,11 +81,11 @@ jobs:
80
81
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
81
82
git remote update origin
82
83
CREATE_PR=0
83
- if !git checkout update-bindings-${{ matrix.ros_distribution }}; then
84
+ if ! git checkout update-bindings-${{ matrix.ros_distribution }}; then
84
85
CREATE_PR=1
85
86
git checkout -b update-bindings-${{ matrix.ros_distribution }}
86
87
fi
87
- git add rcl_bindings_generated_${{ matrix.ros_distribution }}.rs
88
+ git add rclrs/src/ rcl_bindings_generated_${{ matrix.ros_distribution }}.rs
88
89
git commit -m "Regenerate bindings for ${{ matrix.ros_distribution }}"
89
90
git push -u origin update-bindings-${{ matrix.ros_distribution }}
90
91
if [ $CREATE_PR -eq 1 ]; then
You can’t perform that action at this time.
0 commit comments