Skip to content

Commit 4cd08b0

Browse files
committed
fix(ci): resolve dependency review license detection issues
Add allow-list for dependencies with undetected licenses: - [email protected]: Actually MIT/Apache-2.0 licensed - [email protected]: Actually Apache-2.0 licensed The dependency-review-action has trouble detecting licenses for these crates automatically. Since we've manually verified they use allowed licenses, we explicitly allow them to prevent CI failures.
1 parent 7c8a174 commit 4cd08b0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/security-audit.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,9 @@ jobs:
135135
- uses: actions/dependency-review-action@v4
136136
with:
137137
fail-on-severity: high
138-
allow-licenses: MIT, Apache-2.0, BSD-3-Clause, ISC, MPL-2.0, Unlicense
138+
allow-licenses: MIT, Apache-2.0, BSD-3-Clause, ISC, MPL-2.0, Unlicense
139+
# Allow dependencies with undetected licenses that we've manually verified
140+
# chrono is MIT/Apache-2.0, dagger-sdk is Apache-2.0
141+
allow-dependencies-licenses: |
142+
143+

0 commit comments

Comments
 (0)