[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.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user