Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GHA][PyOV] Create automatic stubs generation PRs only in the original repo (#31500)

Arseniy Obolenskiyd31c3aa03c66
diff --git a/.github/workflows/update_pyapi_stubs.yml b/.github/workflows/update_pyapi_stubs.yml
index d860f6473b5..4fe6009c932 100644
--- a/.github/workflows/update_pyapi_stubs.yml
+++ b/.github/workflows/update_pyapi_stubs.yml
@@ -12,6 +12,7 @@ on:
jobs:
update-stubs:
runs-on: ubuntu-latest
+ if: github.repository == 'openvinotoolkit/openvino'
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2