Skip to content

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

[CI] [GHA] Use another token to create PR for the auto-generated Python stubs (#32077)

Andrei Kashchikhine06d38c9d33a
diff --git a/.github/workflows/update_pyapi_stubs.yml b/.github/workflows/update_pyapi_stubs.yml
index e4ff2633a31..8e31a16f469 100644
--- a/.github/workflows/update_pyapi_stubs.yml
+++ b/.github/workflows/update_pyapi_stubs.yml
@@ -10,9 +10,6 @@ on:
jobs:
update-stubs:
runs-on: ubuntu-latest
- permissions:
- contents: write
- pull-requests: write
if: github.repository == 'openvinotoolkit/openvino'
steps:
- name: Checkout repository
@@ -44,7 +41,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
- token: ${{ secrets.GITHUB_TOKEN }}
+ token: ${{ secrets.EXTERNAL_LABELLER_TOKEN }}
commit-message: Update Python API stub files
title: "[PyOV] Update Python API stub files"
signoff: true