|
|
|
@ -27,7 +27,8 @@ def init_workflow():
|
|
|
|
workflows = []
|
|
|
|
workflows = []
|
|
|
|
dir = f'{workflow_dir}/{sub_dir}'
|
|
|
|
dir = f'{workflow_dir}/{sub_dir}'
|
|
|
|
if not os.path.isdir(dir):
|
|
|
|
if not os.path.isdir(dir):
|
|
|
|
raise ValueError(f"Invalid directory: {dir}")
|
|
|
|
logging.ERROR(f"Invalid directory: {dir}")
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
for file_entry in os.scandir(dir):
|
|
|
|
for file_entry in os.scandir(dir):
|
|
|
|
if not file_entry.name.endswith('.yaml') and not file_entry.name.endswith('.yml') or file_entry.name.startswith('.'):
|
|
|
|
if not file_entry.name.endswith('.yaml') and not file_entry.name.endswith('.yml') or file_entry.name.startswith('.'):
|
|
|
|
|