Skip to content

Commit 6c87111

Browse files
committed
ci(dependency-review): switch licenses from deny list to allow list
1 parent ab70952 commit 6c87111

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/dependency-review.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
permissions:
1010
# Required to read the code
1111
contents: read
12+
# Required to write summary to pull-request
13+
pull-requests: write
1214
runs-on: ubuntu-latest
1315
steps:
1416
- name: "Checkout Repository"
@@ -20,9 +22,12 @@ jobs:
2022
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
2123
with:
2224
fail-on-severity: moderate
23-
deny-licenses: >-
24-
GPL-2.0-only, GPL-2.0-or-later,
25-
GPL-3.0-only, GPL-3.0-or-later,
26-
AGPL-3.0-only, AGPL-3.0-or-later,
27-
SSPL-1.0, BUSL-1.1
25+
allow-licenses: >-
26+
0BSD,
27+
Apache-2.0,
28+
BSD-2-Clause,
29+
BSD-3-Clause,
30+
CC0-1.0,
31+
MIT,
32+
MIT-0
2833
comment-summary-in-pr: always

0 commit comments

Comments
 (0)