From 161ee0503664262977358705f34d780efa7cb5b8 Mon Sep 17 00:00:00 2001 From: Ken Brown Date: Tue, 11 Jul 2023 20:10:31 -0400 Subject: [PATCH] Changes to mimic yaml on Cypress public repo (#671) --- .github/workflows/snyk_sca_scan.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/snyk_sca_scan.yaml b/.github/workflows/snyk_sca_scan.yaml index 25e77d94..eb88f184 100644 --- a/.github/workflows/snyk_sca_scan.yaml +++ b/.github/workflows/snyk_sca_scan.yaml @@ -18,8 +18,8 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Run Snyk to check for opensource vulnerabilities - uses: snyk/actions/node@master + uses: snyk/actions/setup@master + run: | + snyk test --all-projects --strict-out-of-sync=false --detection-depth=6 --exclude=docker,Dockerfile --severity-threshold=critical env: SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }} - with: - args: --all-projects --strict-out-of-sync=false --detection-depth=6 --exclude=docker,Dockerfile --severity-threshold=critical \ No newline at end of file