From 6e1c3362e40bbd6cbf4b1806982ad689bb3fddfd Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Mon, 9 Dec 2024 14:58:12 -0600 Subject: [PATCH] [CI] Fix scheduled param on ci.yml This sets a default for the inputs.run-trivy-scan variable when the ci.yml is run from a schedule. Otherwise the scan is not running which then results in the updated libs not being published. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a68a158a..cf620853 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,7 @@ jobs: :runAllSampleTests scan: needs: [prerequisites] - if: ${{ needs.prerequisites.outputs.runjobs && inputs.run-trivy-scan }} + if: ${{ needs.prerequisites.outputs.runjobs && !contains(inputs.run-trivy-scan, 'false') }} uses: ./.github/workflows/trivy-scan.yml deploy_artifacts: name: Deploy Artifacts