From b909b66b296190a8dc53c3a393a5c9d638c09bd9 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Sat, 9 Apr 2022 10:41:43 -0400 Subject: [PATCH] Update scan.yml (#17) --- .github/workflows/scan.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index b80fb9e..dbeb056 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -39,7 +39,8 @@ jobs: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master - if: always() + if: always() + continue-on-error: true with: image-ref: 'docker.io/rockylinux/rockylinux:8' format: 'template' @@ -52,7 +53,7 @@ jobs: - name: Save scan results to github pages uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/main' }} && always() with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public