From f99758939840453027fa5c95babc00c2fa6274df Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 13 Aug 2024 15:21:56 +0300 Subject: fix(cd*): Added ignore unfixed and exit code 0 to Trivy --- .github/workflows/cd-dev.yml | 2 ++ .github/workflows/cd.yml | 2 ++ 2 files changed, 4 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/cd-dev.yml b/.github/workflows/cd-dev.yml index ac7f10a..13ca83e 100644 --- a/.github/workflows/cd-dev.yml +++ b/.github/workflows/cd-dev.yml @@ -40,6 +40,8 @@ jobs: image-ref: ${{ secrets.DOCKERHUB_USERNAME }}/pico-web-dev:latest format: 'sarif' output: 'trivy-results.sarif' + exit-code: 0 + ignore-unfixed: true - name: Upload Trivy scan results to GitHub Security tab uses: github/codeql-action/upload-sarif@v2 diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 9365602..47236fd 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -33,6 +33,8 @@ jobs: image-ref: ${{ secrets.DOCKERHUB_USERNAME }}/pico-web:latest format: 'sarif' output: 'trivy-results.sarif' + exit-code: 0 + ignore-unfixed: true - name: Upload Trivy scan results to GitHub Security tab uses: github/codeql-action/upload-sarif@v2 -- cgit v1.2.3