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