Leave warning about changing generated comment (#25660)

ARCHBOM-1544
This commit is contained in:
Tim McCormack
2020-11-23 13:01:42 -05:00
committed by GitHub
parent 2af63536bb
commit 2f8fa9e4f2

View File

@@ -104,6 +104,9 @@ def main(repo_csv, app_csv, dep_csv):
_map_repo_apps('3rd-party', dep_csv, THIRD_PARTY_APPS, owner_map, owner_to_paths_map)
_map_edx_platform_apps(app_csv, owner_map, owner_to_paths_map)
# NB: An automated script looks for this comment when updating config files,
# so please update regenerate_code_owners_config.py in jenkins-job-dsl-internal
# if you change the comment format here.
print('# Do not hand edit CODE_OWNER_MAPPINGS. Generated by {}'.format(os.path.basename(__file__)))
print('CODE_OWNER_MAPPINGS:')
for owner, path_list in sorted(owner_to_paths_map.items()):