diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 3f0fad7..fea51e4 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -28,5 +28,11 @@ jobs: fail-on-severity: moderate # Post a comment on the PR with a summary of findings comment-summary-in-pr: always - # Deny packages with known malware - deny-licenses: GPL-2.0, GPL-3.0 + # Fail on dependencies under any license not listed here. The list + # holds the licenses found in package-lock.json; a new one has to be + # added on purpose. Replaces deny-licenses, which the action has + # deprecated (actions/dependency-review-action#997). + allow-licenses: >- + MIT, MIT-0, ISC, 0BSD, BSD-2-Clause, BSD-3-Clause, Apache-2.0, + BlueOak-1.0.0, MPL-2.0, LGPL-3.0-or-later, OFL-1.1, CC-BY-4.0, + CC0-1.0