From 7827c60fb860b4f1c9c0945c72e1df71319f8866 Mon Sep 17 00:00:00 2001 From: Janis Jansons Date: Fri, 20 Nov 2026 11:04:49 +0200 Subject: [PATCH] scan: run cyclonedx-cli with invariant globalization (no libicu on some runners -> exit 134) --- scan/action.yml | 4 ++++ 1 file changed, 4 insertions(+) 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