From d08b9a00941a0a7cab0d9a7d0761f09f65a0c753 Mon Sep 17 00:00:00 2001 From: Mouhajer-CO Date: Wed, 6 Dec 2023 10:58:37 +0000 Subject: [PATCH] Add npm critical dependency check before merging to main --- .github/workflows/dependency-review.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/dependency-review.yml diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml new file mode 100644 index 0000000..8383864 --- /dev/null +++ b/.github/workflows/dependency-review.yml @@ -0,0 +1,20 @@ +name: Dependency Review + +on: + push: + branches: + - main + +permissions: + contents: read + +jobs: + dependency-review: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Dependency Review + uses: actions/dependency-review-action@v3 + with: + fail-on-severity: critical