Skip to content

Commit

Permalink
ci(json-schema-check): allow nested config paths
Browse files Browse the repository at this point in the history
Signed-off-by: amadeuszsz <[email protected]>
  • Loading branch information
amadeuszsz committed May 21, 2024
1 parent 61bc6c5 commit 6a5ce71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json-schema-check/validate_json_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main():
config_dir = os.path.dirname(schema_file).replace('schema', 'config')

str_indentation = ' ' * 4
config_files = glob.glob(f'{config_dir}/{base_name}*.param.yaml')
config_files = glob.glob(f'{config_dir}/**/{base_name}*.param.yaml', recursive=True)
if not config_files:
print(colorama.Fore.YELLOW + f'{str_indentation}No configuration files found for schema {schema_file}.')
continue
Expand Down

0 comments on commit 6a5ce71

Please sign in to comment.