From ded2aebff551751b470ed5e43bfad8fb6f502ee7 Mon Sep 17 00:00:00 2001 From: Johannes Kleinlercher Date: Tue, 7 Jan 2025 21:48:15 +0100 Subject: [PATCH] feat: make trivy scans via github code scanning optional with github variables --- .github/workflows/trivy-scans.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/trivy-scans.yaml b/.github/workflows/trivy-scans.yaml index d61cd7c0d..f5ed6f60e 100644 --- a/.github/workflows/trivy-scans.yaml +++ b/.github/workflows/trivy-scans.yaml @@ -14,6 +14,7 @@ name: scan images jobs: evaluate: + if: ${{ vars.TRIVY_GITHUB_CODE_SCANNING == 'true' }} runs-on: ubuntu-latest outputs: matrix: ${{ steps.dataStep.outputs.matrix }}