mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-20 00:51:27 -08:00
Handle changes in '.license' files
This commit is contained in:
1 parent
d6febaa524
commit
f164ca30ef
1 file changed
+3
@@ -39,6 +39,9 @@ def do_changed_files_have_correct_copyright_header(
|
||||
# REUSE.toml isn't included in the SPDX
|
||||
if changed_filename == "REUSE.toml":
|
||||
continue
|
||||
# .license files won't be in the SPDX because they're metadata about other files
|
||||
if changed_filename.endswith(".license"):
|
||||
continue
|
||||
|
||||
if not Path(changed_filename).exists():
|
||||
print(f"{changed_filename} is being skipped as it doesn't exist")
|
||||
|
||||
Reference in new issue
Block a user