From d49b6993f2f8d2740f23bac3c9b7bda60a65ff11 Mon Sep 17 00:00:00 2001 From: Marti Date: Fri, 8 Aug 2025 12:26:25 +0000 Subject: [PATCH] feat: notify on slack if tutorials fail --- .github/workflows/doc-tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/doc-tests.yml b/.github/workflows/doc-tests.yml index c7eefeb..b37f5a4 100644 --- a/.github/workflows/doc-tests.yml +++ b/.github/workflows/doc-tests.yml @@ -29,3 +29,12 @@ jobs: rustup update --no-self-update cargo test --doc --release -- --test-threads=1 working-directory: docs + + - name: Notify Slack on Failure + if: failure() + uses: 8398a7/action-slack@v3 + with: + status: ${{ job.status }} + text: '❌ Documentation tests failed on ${{ github.ref }}' + webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + fields: repo,message,commit,author,action,eventName,ref,workflow