Skip to content

Commit e8d8c20

Browse files
authored
Only run scheduled python bindings generation on main repo
1 parent ed7bca6 commit e8d8c20

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/generate-bindings.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
ros_distribution: rolling
3939
ros_version: 2
4040
runs-on: ubuntu-latest
41+
if: |
42+
github.event_name == 'workflow_dispatch' || (
43+
github.event_name == 'schedule' && github.repository == 'ros2-rust/ros2_rust'
44+
)
4145
permissions:
4246
contents: write
4347
pull-requests: write

0 commit comments

Comments
 (0)