diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c5de7a7..caa3196 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -67,7 +67,7 @@ jobs: severity: 'MEDIUM,CRITICAL,HIGH' scanners: "vuln" - name: upload trivy report - if: env.SKIP == '0' + if: env.SKIP == '0' && !cancelled() uses: actions/upload-artifact@v4 with: name: 'trivy-sbom-report-${{ matrix.package }}'