44 pull_request :
55 paths :
66 - " **/pyproject.toml"
7+ - " .github/workflows/license_compliance.yml"
78 # Since we test PRs, there is no need to run the workflow at each
89 # merge on `main`. Let's use a cron job instead.
910 schedule :
1011 - cron : " 0 0 * * *" # every day at midnight
11-
1212env :
1313 CORE_DATADOG_API_KEY : ${{ secrets.CORE_DATADOG_API_KEY }}
1414 PYTHON_VERSION : " 3.10"
@@ -21,10 +21,10 @@ jobs:
2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Checkout the code
24- uses : actions/checkout@v4
24+ uses : actions/checkout@v5
2525
2626 - name : Setup Python
27- uses : actions/setup-python@v5
27+ uses : actions/setup-python@v6
2828 with :
2929 python-version : " ${{ env.PYTHON_VERSION }}"
3030
@@ -35,17 +35,16 @@ jobs:
3535
3636 - name : Check Licenses
3737 id : license_check_report
38- uses : pilosus/action-pip-license-checker@v2
38+ uses : pilosus/action-pip-license-checker@v3
3939 with :
4040 github-token : ${{ secrets.GH_ACCESS_TOKEN }}
4141 requirements : ${{ env.REQUIREMENTS_FILE }}
4242 fail : " Copyleft,Other,Error"
4343 # Exclusions in the vanilla distribution must be explicitly motivated
44- # - jsonschema is MIT but, starting from version 4.24.0, pip-license-checker does not recognize it
4544 # - tqdm is MLP but there are no better alternatives
4645 # - typing_extensions>=4.13.0 has a Python Software Foundation License 2.0 but pip-license-checker does not recognize it
4746 # (https://github.com/pilosus/pip-license-checker/issues/143)
48- exclude : " (?i)^(jsonschema| tqdm|typing_extensions).*"
47+ exclude : " (?i)^(tqdm|typing_extensions).*"
4948
5049 # We keep the license inventory on FOSSA
5150 - name : Send license report to Fossa
0 commit comments