From 2ebee42baad67eaefa93b8477dd614917d721d7f Mon Sep 17 00:00:00 2001 From: JonJagger Date: Tue, 17 Dec 2024 03:57:10 +0000 Subject: [PATCH] Put --attachments flag on correct call --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 93268d0..0968a64 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -134,7 +134,6 @@ jobs: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} run: snyk code test - --attachments=.snyk --sarif --sarif-file-output="${SARIF_FILENAME}" --policy-path=.snyk @@ -150,6 +149,7 @@ jobs: if: ${{ github.ref == 'refs/heads/main' && (success() || failure()) }} run: kosli attest snyk + --attachments=.snyk --name=dashboard.snyk-code-scan --scan-results="${SARIF_FILENAME}"