From e8d8c202ac9a04a68d527e2475d06c611ccf834a Mon Sep 17 00:00:00 2001 From: "Kimberly N. McGuire" Date: Tue, 4 Nov 2025 10:02:19 +0100 Subject: [PATCH] Only run scheduled python bindings generation on main repo --- .github/workflows/generate-bindings.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/generate-bindings.yml b/.github/workflows/generate-bindings.yml index 6bf08b19..5605312b 100644 --- a/.github/workflows/generate-bindings.yml +++ b/.github/workflows/generate-bindings.yml @@ -38,6 +38,10 @@ jobs: ros_distribution: rolling ros_version: 2 runs-on: ubuntu-latest + if: | + github.event_name == 'workflow_dispatch' || ( + github.event_name == 'schedule' && github.repository == 'ros2-rust/ros2_rust' + ) permissions: contents: write pull-requests: write