Skip to content

Commit 139ec45

Browse files
JakeChampionJake Champion
authored andcommitted
only enforce licenses for runtime dependencies and not development dependencies
previously we had have to relax the allow-licenses field due to a development dependency having a license which was not in the allow-list. The newer version of dependency-review-action now has the option to specify which 'scope' to check the licenses for. I've set the scope to be 'runtime', which means it will no longer check the development dependency licenses. In a future commit we can revert the allow-licenses field back to it's original, stricter list.
1 parent d605df9 commit 139ec45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dependencies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Dependency Review
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/dependency-review-action@v2
12+
- uses: actions/dependency-review-action@v2.2.0
1313
with:
1414
allow-licenses: Apache-2.0, MIT, BSD-3-Clause, ISC, BSD-2-Clause, MIT OR (CC0-1.0 AND MIT), CC0-1.0 OR MIT OR (CC0-1.0 AND MIT), CC-BY-3.0, CC0-1.0, MIT OR Apache-2.0, MIT AND Apache-2.0
15-
15+
fail-on-scopes: runtime

0 commit comments

Comments
 (0)