From 7f468a5e9c1d67642d1c63db2095cf41a7d92aed 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 4d50026c..f832eef3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,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