diff --git a/.github/workflows/dbt_test_tasks.yml b/.github/workflows/dbt_test_tasks.yml index 8adb7f56..5e14a1d1 100644 --- a/.github/workflows/dbt_test_tasks.yml +++ b/.github/workflows/dbt_test_tasks.yml @@ -24,4 +24,11 @@ concurrency: jobs: called_workflow_template: uses: FlipsideCrypto/analytics-workflow-templates/.github/workflows/dbt_test_tasks.yml@AN-4374/upgrade-dbt-1.7 - secrets: inherit \ No newline at end of file + secrets: inherit + + notify-failure: + needs: [called_workflow_template] + if: failure() + uses: ./.github/workflows/slack_notify.yml + secrets: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} \ No newline at end of file diff --git a/models/github_actions/github_actions__current_task_status.yml b/models/github_actions/github_actions__current_task_status.yml index a1003588..2782db08 100644 --- a/models/github_actions/github_actions__current_task_status.yml +++ b/models/github_actions/github_actions__current_task_status.yml @@ -7,6 +7,7 @@ models: - dbt_expectations.expect_column_values_to_be_in_set: value_set: - TRUE + where: "workflow_name != 'dbt_run_streamline_stake_accounts_snapshot'" - name: SUCCESSES tests: - dbt_expectations.expect_column_values_to_be_in_set: @@ -14,4 +15,5 @@ models: - 2 config: severity: warn - warn_if: ">0" \ No newline at end of file + warn_if: ">0" + where: "workflow_name != 'dbt_run_streamline_stake_accounts_snapshot'" \ No newline at end of file