Skip to content

Commit e8424a3

Browse files
committed
ci: switch from allow-list to deny-list for license checking
1 parent 6c2d53f commit e8424a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
with:
2525
# Fail the build if vulnerabilities are found
2626
fail-on-severity: moderate
27-
# Allow only these licenses (automatically denies others including AGPL)
28-
allow-licenses: GPL-2.0, GPL-3.0, LGPL-2.1, LGPL-3.0, MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, Apache-2.0 AND BSD-3-Clause
27+
# Deny copyleft and non-permissive licenses explicitly
28+
deny-licenses: AGPL-3.0, GPL-2.0-only, GPL-3.0-only, LGPL-2.0-only, LGPL-2.1-only, LGPL-3.0-only, SSPL-1.0, BUSL-1.1
2929
# Create a summary comment on the PR
3030
comment-summary-in-pr: true
3131

0 commit comments

Comments
 (0)