diff --git a/scripts/dm_xml_ci_change_enforcement.py b/scripts/dm_xml_ci_change_enforcement.py index 7ec77bd9ddbe9d..0efe40f66faa49 100644 --- a/scripts/dm_xml_ci_change_enforcement.py +++ b/scripts/dm_xml_ci_change_enforcement.py @@ -37,7 +37,7 @@ def check_dm_directory(dir): def check_dir(dir): cmd = f'git diff HEAD^..HEAD --name-only -- {dir}' output = subprocess.check_output(cmd, shell=True).decode().splitlines() - if output and 'spec_sha' not in output: + if output and 'spec_sha' not in output and 'scraper_version' not in output: print(f'Data model directory {dir} had changes to the following files without a corresponding update to the spec SHA') print(output) print("Note that the data_model directory files are automatically updated by a spec scraper and should not be manually updated.")