From a147a0e83026a3d33d9c9307748e43558b10abea Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 00:11:57 +0100 Subject: [PATCH] Add paths filter to humble docker build job (#648) (#650) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add paths filter * Rename file (cherry picked from commit 0c700923f4da4e239905a05347840e8df828fea4) Co-authored-by: Christoph Fröhlich --- ...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 * * *'