Skip to content

Commit

Permalink
also allow scraper version changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed Oct 23, 2024
1 parent 0d0e052 commit dd89721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dm_xml_ci_change_enforcement.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit dd89721

Please sign in to comment.