From 3f0538dfac7354db8a44e6f84c1c951b6ea19828 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Thu, 8 Feb 2024 19:17:31 +0100 Subject: [PATCH] scan artifacts --- .github/workflows/sdl.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sdl.yml b/.github/workflows/sdl.yml index 2a7474d2c..ffbd743ca 100644 --- a/.github/workflows/sdl.yml +++ b/.github/workflows/sdl.yml @@ -69,7 +69,15 @@ jobs: output: 'trivy-results.sarif' severity: 'CRITICAL' - - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@v3 + # - name: Upload Trivy scan results to GitHub Security tab + # uses: github/codeql-action/upload-sarif@v3 + # with: + # sarif_file: 'trivy-results.sarif' + + - name: Upload Trivy scan results + if: ${{ always() }} + uses: actions/upload-artifact@v4 with: - sarif_file: 'trivy-results.sarif' \ No newline at end of file + name: trivy_results + path: 'trivy-results.sarif' + if-no-files-found: 'error'