From 1ef17c507d19ff3add09dc8ee7735c40572ac01b Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Thu, 29 Dec 2022 11:39:56 +0400 Subject: [PATCH] Added dependency review action (#14844) --- .github/dependency_review.yml | 11 +++++++++++ .github/workflows/dependency_review.yml | 17 +++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/dependency_review.yml create mode 100644 .github/workflows/dependency_review.yml diff --git a/.github/dependency_review.yml b/.github/dependency_review.yml new file mode 100644 index 00000000000000..9b88e267534c30 --- /dev/null +++ b/.github/dependency_review.yml @@ -0,0 +1,11 @@ +fail-on-severity: 'low' +allow-licenses: + - 'BSD-3-Clause' + - 'MIT' + - 'Apache-2.0' +fail-on-scopes: + - 'runtime' + - 'development' + - 'unknown' +license-check: true +vulnerability-check: true diff --git a/.github/workflows/dependency_review.yml b/.github/workflows/dependency_review.yml new file mode 100644 index 00000000000000..8e93de51b5c767 --- /dev/null +++ b/.github/workflows/dependency_review.yml @@ -0,0 +1,17 @@ +name: 'Dependency Review' +on: [pull_request] + +permissions: + contents: read + +jobs: + dependency-review: + runs-on: ubuntu-latest + steps: + - name: Clone OpenVINO + uses: actions/checkout@v3 + + - name: Dependency Review + uses: actions/dependency-review-action@v3 + with: + config-file: './.github/dependency_review.yml'