From cd33311113770743e99a0a984ae78798a6281ab0 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 19 Dec 2024 19:13:53 +1300 Subject: [PATCH] Update licenses.yml --- .github/workflows/licenses.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.yml index 99a2d75..651e0dd 100644 --- a/.github/workflows/licenses.yml +++ b/.github/workflows/licenses.yml @@ -133,6 +133,9 @@ jobs: if [[ -z $(which license-checker) ]]; then npm install -g license-checker; fi - license-checker --production --onlyAllow '${SPDX_ALLOWED_DELIMITED}' --unknown --out /dev/null --excludePackages $EXCLUDE_PACKAGES + # Need to put the env variable as local variable otherwise the space in "Public Domain" will be split + ONLY_ALLOW="$SPDX_ALLOWED_DELIMITED" + echo "ONLY_ALLOW is $ONLY_ALLOW" + license-checker --production --onlyAllow $ONLY_ALLOW --unknown --out /dev/null --excludePackages $EXCLUDE_PACKAGES done echo "Passed"