From a26fb1f225e321605ee0ce17f7133b8ecb2d82fb Mon Sep 17 00:00:00 2001 From: Jon M Date: Wed, 1 Apr 2026 16:44:50 +0100 Subject: [PATCH] Ability to notify based on overall workflow status --- .github/workflows/build.yml | 1 + .github/workflows/publish.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 809a09b..094795d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,4 +65,5 @@ jobs: uses: ./.github/actions/notify with: webhook-url: ${{ secrets.NOTIFICATION_URL }} + needs: ${{ toJson(needs) }} data: '{"matrixBuildResult": "${{ needs.build.result }}"}' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bd729ba..6ecfe3b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -47,3 +47,4 @@ jobs: uses: ./.github/actions/notify with: webhook-url: ${{ secrets.NOTIFICATION_URL }} + needs: ${{ toJson(needs) }}