Skip to content

Commit

Permalink
Update licenses.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz authored Dec 19, 2024
1 parent 373a776 commit cd33311
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit cd33311

Please sign in to comment.