We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the feature you'd like
dbt-deps is slow and never skips. :(
dbt-deps should optionally skip if:
- repo: local hooks: - id: dbt-deps name: dbt deps if needed entry: | bash -c \ 'DBT_PATH_TO_PACKAGES="$PATH_TO_DBT"/"$DBT_PACKAGES_DIR" dbt_packages_installed="$(find "$DBT_PATH_TO_PACKAGES" -maxdepth 2 -type f | wc --lines)" packages_yml_changed=$(git diff --name-only --cached | grep --count $"PATH_TO_DBT"/packages.yml) if [ "$dbt_packages_installed" -eq 0 ] || [ "$packages_yml_changed" -eq 1 ] || [ ! -d "$DBT_PATH_TO_PACKAGES" ]; then dbt deps else echo skip dbt deps fi' language: system
Happy to help but do not currently understand why skipping doesn't work for this command.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the feature you'd like
dbt-deps is slow and never skips. :(
dbt-deps should optionally skip if:
Happy to help but do not currently understand why skipping doesn't work for this command.
The text was updated successfully, but these errors were encountered: