From 3b0e502b2a7c283b51c7c72c117efa16b12acd89 Mon Sep 17 00:00:00 2001 From: Hein van Vlastuin Date: Mon, 8 Dec 2025 09:44:55 +0200 Subject: [PATCH] Add Slack notification on early daily test failure --- .github/workflows/daily-test-matrix.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/daily-test-matrix.yml b/.github/workflows/daily-test-matrix.yml index d693bec9..8718b079 100644 --- a/.github/workflows/daily-test-matrix.yml +++ b/.github/workflows/daily-test-matrix.yml @@ -444,6 +444,20 @@ jobs: echo "targeted-tests=[]" >> $GITHUB_OUTPUT fi + notify-on-early-failure: + name: Notify on Early Failure + needs: calculate-test-matrix + runs-on: ubuntu-22.04 + if: always() && needs.calculate-test-matrix.result != 'success' + steps: + - name: Send Slack notification on early failure + continue-on-error: true + uses: ./.github/actions/theme-slack-notification-daily-tests + with: + CLOUD_SLACK_BOT_TOKEN: ${{ secrets.CLOUD_SLACK_BOT_TOKEN }} + WORKFLOW_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + SLACK_CHANNEL: '#tmz-alerts' + trigger-targeted-tests: name: Trigger Targeted Tests needs: [calculate-test-matrix]