Skip to content

Commit e88cef2

Browse files
committed
fix CI
1 parent 2dc9a4b commit e88cef2

4 files changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/ros-humble.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: ROS2 Humble
22

33
on:
4-
workflow_run:
5-
workflows: ["Pre-commit"]
6-
types: [completed]
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
78
workflow_dispatch:
89

910
jobs:
1011
build:
1112
runs-on: ubuntu-22.04
12-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1313
steps:
1414
# Set up ROS
1515
- uses: ros-tooling/setup-ros@v0.7

.github/workflows/ros-jazzy.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: ROS2 Jazzy
22

33
on:
4-
workflow_run:
5-
workflows: ["Pre-commit"]
6-
types: [completed]
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
78
workflow_dispatch:
89

910
jobs:
1011
build:
1112
runs-on: ubuntu-24.04
12-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1313
steps:
1414
# Set up ROS
1515
- uses: ros-tooling/setup-ros@v0.7

.github/workflows/ros-rolling.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: ROS2 Rolling
22

33
on:
4-
workflow_run:
5-
workflows: ["Pre-commit"]
6-
types: [completed]
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
78
workflow_dispatch:
89

910
jobs:
1011
build:
1112
runs-on: ubuntu-24.04
12-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1313
steps:
1414
# Set up ROS
1515
- uses: ros-tooling/setup-ros@v0.7

src/ros_parsers/ros2_parser.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#include <rosidl_typesupport_introspection_cpp/identifier.hpp>
1111
#include <fmt/core.h>
1212

13-
failed;
14-
1513
bool TypeHasHeader(const rosidl_message_type_support_t* type_support)
1614
{
1715
auto members = static_cast<const rosidl_typesupport_introspection_cpp::MessageMembers*>(type_support->data);

0 commit comments

Comments
 (0)