We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af742ef commit 9e521f4Copy full SHA for 9e521f4
1 file changed
src/dbt_jobs_as_code/cloud_yaml_mapping/change_set.py
@@ -188,6 +188,8 @@ def build_change_set(
188
CONFIG is the path to your jobs.yml config file.
189
"""
190
# Get list of files matching the glob pattern
191
+ if os.path.isdir(config):
192
+ config = os.path.join(config, "**/*.yml")
193
config_files = glob.glob(config)
194
if not config_files:
195
logger.error(f"No files found matching pattern: {config}")
0 commit comments