Skip to content

Commit 691d22a

Browse files
committed
Ability to notify based on overall workflow status
1 parent cfb2d3f commit 691d22a

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ jobs:
6565
uses: ./.github/actions/notify
6666
with:
6767
webhook-url: ${{ secrets.NOTIFICATION_URL }}
68+
needs: ${{ toJson(needs) }}
6869
data: '{"matrixBuildResult": "${{ needs.build.result }}"}'

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ jobs:
4747
uses: ./.github/actions/notify
4848
with:
4949
webhook-url: ${{ secrets.NOTIFICATION_URL }}
50+
needs: ${{ toJson(needs) }}

0 commit comments

Comments
 (0)