This commit is contained in:
drethereum 2024-01-31 13:18:26 -07:00 committed by GitHub
parent e6c855091e
commit 0fd5fe4483
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,7 +44,7 @@ jobs:
- name: List reorg models
id: list_models
run: |
reorg_model_list=$(dbt list --select "base_models,tag:reorg" --resource-type model --output name | tail -n +4 | awk -F'.' '{print $NF}' | tr '\n' ',' | sed 's/,$//')
reorg_model_list=$(dbt list --select "base_models,tag:reorg" --resource-type model --output name | grep '__' | awk -F'.' '{print $NF}' | tr '\n' ',' | sed 's/,$//')
echo "model_list=$reorg_model_list" >> $GITHUB_OUTPUT
- name: Execute block_reorg macro