From b10fa79ae87ea861808df9b8718021511b65148a Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 3 Jul 2024 09:10:27 -0500 Subject: [PATCH] add testing slack notification (#10400) --- .github/workflows/release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 116dee7cd74..63d963f0551 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -247,3 +247,24 @@ jobs: secrets: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DEV_CORE_ALERTS }} + + testing-slack-notification: + # sends notifications to #slackbot-test + name: Testing - Slack Notification + if: ${{ failure() && inputs.test_run && !inputs.nightly_release }} + + needs: + [ + bump-version-generate-changelog, + build-test-package, + github-release, + pypi-release, + docker-release, + ] + + uses: dbt-labs/dbt-release/.github/workflows/slack-post-notification.yml@main + with: + status: "failure" + + secrets: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TESTING_WEBHOOK_URL }}