diff --git a/scan/action.yml b/scan/action.yml index 9480e6e..c4920a4 100644 --- a/scan/action.yml +++ b/scan/action.yml @@ -104,6 +104,10 @@ runs: CONTAINER_IMAGE: ${{ inputs.container-image }} CONTAINER_SKIP: ${{ inputs.container-skip-files }} TRIVY_TIMEOUT: ${{ inputs.trivy-timeout }} + # cyclonedx-cli is .NET: without libicu on the runner (gamer) it aborts with + # "Couldn't find a valid ICU package" (exit 134). It only merges JSON, so + # invariant globalization is all it needs. + DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: "1" run: | set -euo pipefail trivy fs "$SCAN_PATH" --quiet --timeout "$TRIVY_TIMEOUT" --format cyclonedx --output source-sbom.json