Skip to content

Commit a05d7a2

Browse files
authored
Fix: [AEA-0000] - Add ignores to check-licenses (#6)
## Summary - ✨ New Feature ### Details Brings in the ignored licenses from https://github.com/NHSDigital/electronic-prescription-service-release-notes/blob/main/scripts/check_python_licenses.sh
1 parent aae365f commit a05d7a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/quality-checks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ jobs:
125125
poetry run pip install pip-licenses
126126
fi
127127
128-
LICENSES=$(poetry run pip-licenses)
128+
# known packages with dual licensing
129+
IGNORE_PACKAGES="PyGithub chardet text-unidecode"
130+
LICENSES=$(poetry run pip-licenses --ignore-packages ${IGNORE_PACKAGES})
129131
INCOMPATIBLE_LIBS=$(echo "$LICENSES" | grep 'GPL' || true)
130132
131133
if [[ -z $INCOMPATIBLE_LIBS ]]; then

0 commit comments

Comments
 (0)