From 66f148ffb03ce2e6f3a8dbcd206ac15597894379 Mon Sep 17 00:00:00 2001 From: krymtkts Date: Fri, 5 Jan 2024 11:50:28 +0900 Subject: [PATCH] Add the command input to Snyk step. --- .github/workflows/gh-pages.yml | 2 +- .github/workflows/pr.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 404568e..7c29b62 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -29,8 +29,8 @@ jobs: env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: + command: test args: --all-projects --exclude=fable_modules --sarif-file-output=snyk.sarif - command: monitor - name: Upload result to GitHub Code Scanning uses: github/codeql-action/upload-sarif@v2 with: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 49ccdb9..fdee882 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,4 +20,5 @@ jobs: env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: + command: test args: --all-projects --exclude=fable_modules