[OVC] Restrict reading only files that represent pytorch models #145308
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR Commits | |
| on: [pull_request] | |
| permissions: read-all | |
| jobs: | |
| Checks: | |
| runs-on: ubuntu-22.04 | |
| if: ${{ github.repository_owner == 'openvinotoolkit' }} | |
| steps: | |
| - name: Clone OpenVINO | |
| uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries | |
| timeout-minutes: 15 | |
| - name: Install dependencies | |
| run: python3 -m pip install -r ./.github/github_org_control/requirements.txt | |
| - name: PR commits | |
| run: python3 ./.github/github_org_control/check_pr.py --pr=${{ github.event.number }} --check-commits DRY_RUN | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |