From f48d97678c3233ba4f593ca30834f27d31c8825a Mon Sep 17 00:00:00 2001 From: Tarek Hamaoui Date: Wed, 14 Aug 2024 15:16:20 +0200 Subject: [PATCH] Add uploading of Trivy results RISDEV-4542 --- .github/workflows/pipeline.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 21dd8ca..e800548 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -49,11 +49,11 @@ jobs: exit 0 fi -# - name: Upload Trivy scan results to GitHub Security tab -# if: ${{ always() && github.ref == 'refs/heads/main' }} -# uses: github/codeql-action/upload-sarif@v3 -# with: -# sarif_file: "trivy-results.sarif" + - name: Upload Trivy scan results to GitHub Security tab + if: ${{ always() && github.ref == 'refs/heads/main' }} + uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: "trivy-results.sarif" # Deploy Storybook to GitHub Pages build-and-deploy-storybook: