From b69a6f0b89ed2fd289ebd50fa60afcf09d16101e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Sun, 17 Nov 2024 23:54:07 +0100 Subject: [PATCH] Add paths filter to humble docker build job (#648) * Add paths filter * Rename file (cherry picked from commit 0c700923f4da4e239905a05347840e8df828fea4) --- ...ker-build.yaml => humble-docker-build.yml} | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) rename .github/workflows/{humble-docker-build.yaml => humble-docker-build.yml} (50%) diff --git a/.github/workflows/humble-docker-build.yaml b/.github/workflows/humble-docker-build.yml similarity index 50% rename from .github/workflows/humble-docker-build.yaml rename to .github/workflows/humble-docker-build.yml index ad9b2b57b..b9eb118af 100644 --- a/.github/workflows/humble-docker-build.yaml +++ b/.github/workflows/humble-docker-build.yml @@ -5,9 +5,31 @@ on: pull_request: branches: - humble + paths: + - '**.hpp' + - '**.cpp' + - Dockerfile/** + - '.github/workflows/humble-docker-build.yml' + - '**/package.xml' + - '**/CMakeLists.txt' + - '**.xacro' + - '**.py' + - '**.yaml' + - 'ros2_control_demos.humble.repos' push: branches: - humble + paths: + - '**.hpp' + - '**.cpp' + - Dockerfile/** + - '.github/workflows/humble-docker-build.yml' + - '**/package.xml' + - '**/CMakeLists.txt' + - '**.xacro' + - '**.py' + - '**.yaml' + - 'ros2_control_demos.humble.repos' schedule: # Run every morning to detect broken dependencies - cron: '40 1 * * *'