From 13dcbf0c0c5d97f917dd5f06a33498154da7ee5e Mon Sep 17 00:00:00 2001 From: Jack Forgash <58153492+forgxyz@users.noreply.github.com> Date: Wed, 14 May 2025 10:49:26 -0600 Subject: [PATCH] reconfigure slack alert job for multiple targets (#444) --- .github/workflows/dbt_run_evm.yml | 2 +- .github/workflows/dbt_run_evm_decoded_logs.yml | 2 +- .github/workflows/dbt_run_scheduled_abis.yml | 2 +- .github/workflows/dbt_run_streamline_decoded_logs_history.yml | 2 +- .github/workflows/dbt_run_streamline_evm_daily_realtime.yml | 2 +- .github/workflows/dbt_run_streamline_evm_daily_silver.yml | 2 +- .github/workflows/dbt_run_streamline_evm_realtime.yml | 2 +- .github/workflows/dbt_test_recent_evm.yml | 2 +- .github/workflows/slack_notify.yml | 4 ++-- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dbt_run_evm.yml b/.github/workflows/dbt_run_evm.yml index f9e1092..74b1268 100644 --- a/.github/workflows/dbt_run_evm.yml +++ b/.github/workflows/dbt_run_evm.yml @@ -50,4 +50,4 @@ jobs: if: failure() uses: ./.github/workflows/slack_notify.yml secrets: - EVM_SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} \ No newline at end of file + SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} \ No newline at end of file diff --git a/.github/workflows/dbt_run_evm_decoded_logs.yml b/.github/workflows/dbt_run_evm_decoded_logs.yml index c4be748..59adaff 100644 --- a/.github/workflows/dbt_run_evm_decoded_logs.yml +++ b/.github/workflows/dbt_run_evm_decoded_logs.yml @@ -50,4 +50,4 @@ jobs: if: failure() uses: ./.github/workflows/slack_notify.yml secrets: - EVM_SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} \ No newline at end of file + SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} \ No newline at end of file diff --git a/.github/workflows/dbt_run_scheduled_abis.yml b/.github/workflows/dbt_run_scheduled_abis.yml index 46ad8fe..0028d29 100644 --- a/.github/workflows/dbt_run_scheduled_abis.yml +++ b/.github/workflows/dbt_run_scheduled_abis.yml @@ -54,4 +54,4 @@ jobs: if: failure() uses: ./.github/workflows/slack_notify.yml secrets: - EVM_SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/dbt_run_streamline_decoded_logs_history.yml b/.github/workflows/dbt_run_streamline_decoded_logs_history.yml index b2668a3..6f796bd 100644 --- a/.github/workflows/dbt_run_streamline_decoded_logs_history.yml +++ b/.github/workflows/dbt_run_streamline_decoded_logs_history.yml @@ -54,4 +54,4 @@ jobs: if: failure() uses: ./.github/workflows/slack_notify.yml secrets: - EVM_SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/dbt_run_streamline_evm_daily_realtime.yml b/.github/workflows/dbt_run_streamline_evm_daily_realtime.yml index 77e5093..d238f6a 100644 --- a/.github/workflows/dbt_run_streamline_evm_daily_realtime.yml +++ b/.github/workflows/dbt_run_streamline_evm_daily_realtime.yml @@ -50,4 +50,4 @@ jobs: if: failure() uses: ./.github/workflows/slack_notify.yml secrets: - EVM_SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/dbt_run_streamline_evm_daily_silver.yml b/.github/workflows/dbt_run_streamline_evm_daily_silver.yml index d9336be..a1a40c6 100644 --- a/.github/workflows/dbt_run_streamline_evm_daily_silver.yml +++ b/.github/workflows/dbt_run_streamline_evm_daily_silver.yml @@ -50,4 +50,4 @@ jobs: if: failure() uses: ./.github/workflows/slack_notify.yml secrets: - EVM_SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/dbt_run_streamline_evm_realtime.yml b/.github/workflows/dbt_run_streamline_evm_realtime.yml index 9a8d0ac..999900b 100644 --- a/.github/workflows/dbt_run_streamline_evm_realtime.yml +++ b/.github/workflows/dbt_run_streamline_evm_realtime.yml @@ -50,4 +50,4 @@ jobs: if: failure() uses: ./.github/workflows/slack_notify.yml secrets: - EVM_SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/dbt_test_recent_evm.yml b/.github/workflows/dbt_test_recent_evm.yml index 385c1e8..e151f25 100644 --- a/.github/workflows/dbt_test_recent_evm.yml +++ b/.github/workflows/dbt_test_recent_evm.yml @@ -54,4 +54,4 @@ jobs: if: failure() uses: ./.github/workflows/slack_notify.yml secrets: - EVM_SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/slack_notify.yml b/.github/workflows/slack_notify.yml index 0d93718..a4f8417 100644 --- a/.github/workflows/slack_notify.yml +++ b/.github/workflows/slack_notify.yml @@ -2,7 +2,7 @@ name: Slack Notification on: workflow_call: secrets: - EVM_SLACK_WEBHOOK_URL: + SLACK_WEBHOOK_URL: required: true jobs: @@ -24,4 +24,4 @@ jobs: - name: Send Slack notification run: python python/slack_alert.py env: - EVM_SLACK_WEBHOOK_URL: ${{ secrets.EVM_SLACK_WEBHOOK_URL }} \ No newline at end of file + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}