Skip to content

Commit 1626574

Browse files
committed
[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.
1 parent 4b68f13 commit 1626574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
:runAllSampleTests
9696
scan:
9797
needs: [prerequisites]
98-
if: ${{ needs.prerequisites.outputs.runjobs && inputs.run-trivy-scan }}
98+
if: ${{ needs.prerequisites.outputs.runjobs && !contains(inputs.run-trivy-scan, 'false') }}
9999
uses: ./.github/workflows/trivy-scan.yml
100100
deploy_artifacts:
101101
name: Deploy Artifacts (1.0.x)

0 commit comments

Comments
 (0)