GitHub CI: Add check of PR commits (#6043)

* GitHub CI: Add check of PR commits

* Install dependencies
* Add GITHUB_TOKEN
* Set DRY_RUN
This commit is contained in:
Alexander Zhogov
2021-06-07 10:27:12 +03:00
committed by GitHub
parent abed119e88
commit bc4223870d
2 changed files with 151 additions and 55 deletions

17
.github/workflows/check_pr_commits.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: PR Commits
on: [pull_request]
jobs:
Checks:
runs-on: ubuntu-20.04
steps:
- name: Clone OpenVINO
uses: actions/checkout@v2
- name: Install dependencies
run: python3 -m pip install -r ./.github/org_control/requirements.txt
- name: PR commits
run: python3 ./.github/org_control/check_pr.py --pr=${{ github.event.number }} --check-commits DRY_RUN
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}