From 1626574ea95ad58281a31b5ee5fb7b55f7155f57 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 701a24b5..99467025 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,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 (1.0.x)