Skip to content

Commit

Permalink
[CI] Fix scheduled param on ci.yml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
onobc committed Dec 9, 2024
1 parent 4b68f13 commit 1626574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1626574

Please sign in to comment.