Skip to content

Commit 5f7a0e3

Browse files
committed
scripts: ci: check_compliance: Error on non-allowed licenses
Increase the severity if a file is licensed without it being allowed. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
1 parent eeca0ee commit 5f7a0e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/check_compliance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,7 @@ def run(self) -> None:
17791779
self._report_violations(
17801780
paths,
17811781
"License may not be allowed",
1782-
"warning",
1782+
"error",
17831783
(
17841784
f"License file for '{lic_id}' not found in /LICENSES. Please check "
17851785
"https://docs.zephyrproject.org/latest/contribute/guidelines.html#components-using-other-licenses."

0 commit comments

Comments
 (0)