From 9c0b6a011ef4383ad40dc3aee6d5d8211db950e3 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Wed, 17 Sep 2025 21:53:40 +0000 Subject: [PATCH 1/2] Run on bare container --- .github/workflows/humble-build-source.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/humble-build-source.yml b/.github/workflows/humble-build-source.yml index 4c419ef0..f90e94f4 100644 --- a/.github/workflows/humble-build-source.yml +++ b/.github/workflows/humble-build-source.yml @@ -19,5 +19,4 @@ jobs: with: ros_distro: humble ref: humble - os_name: ubuntu-22.04 - container: "" + container: ubuntu:22.04 From 049e8fcf860831f097771d25725724973d01595f Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Wed, 17 Sep 2025 21:56:10 +0000 Subject: [PATCH 2/2] Run sources build on PRs if file is changed --- .github/workflows/humble-build-source.yml | 5 +++++ .github/workflows/jazzy-build-source.yml | 6 +++++- .github/workflows/rolling-build-source.yml | 7 +++++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/humble-build-source.yml b/.github/workflows/humble-build-source.yml index f90e94f4..445e0d31 100644 --- a/.github/workflows/humble-build-source.yml +++ b/.github/workflows/humble-build-source.yml @@ -4,6 +4,11 @@ on: push: branches: - humble + pull_request: + branches: + - humble + paths: + - .github/workflows/humble-build-source.yml schedule: # Run every day to detect flakiness and broken dependencies - cron: '03 3 * * MON-FRI' diff --git a/.github/workflows/jazzy-build-source.yml b/.github/workflows/jazzy-build-source.yml index f8498bac..0b8e599b 100644 --- a/.github/workflows/jazzy-build-source.yml +++ b/.github/workflows/jazzy-build-source.yml @@ -4,6 +4,11 @@ on: push: branches: - jazzy + pull_request: + branches: + - jazzy + paths: + - .github/workflows/jazzy-build-source.yml schedule: # Run every day to detect flakiness and broken dependencies - cron: '03 3 * * MON-FRI' @@ -19,5 +24,4 @@ jobs: with: ros_distro: jazzy ref: jazzy - os_name: ubuntu-latest container: ubuntu:24.04 diff --git a/.github/workflows/rolling-build-source.yml b/.github/workflows/rolling-build-source.yml index 8403ce08..4f1cbf87 100644 --- a/.github/workflows/rolling-build-source.yml +++ b/.github/workflows/rolling-build-source.yml @@ -4,6 +4,11 @@ on: push: branches: - ros2-master + pull_request: + branches: + - ros2-master + paths: + - .github/workflows/rolling-build-source.yml schedule: # Run every day to detect flakiness and broken dependencies - cron: '03 3 * * MON-FRI' @@ -22,10 +27,8 @@ jobs: include: - ROS_DISTRO: rolling CONTAINER: ubuntu:24.04 - OS_NAME: ubuntu-latest - ROS_DISTRO: kilted CONTAINER: ubuntu:24.04 - OS_NAME: ubuntu-latest with: ros_distro: ${{ matrix.ROS_DISTRO }} ref: ros2-master