Skip to content

Commit b594fc6

Browse files
committed
github-actions: Add gchat notification
Signed-off-by: Miguel Ruiz <[email protected]>
1 parent 9408f52 commit b594fc6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,14 @@ jobs:
9696
fi
9797
env:
9898
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99+
notify:
100+
name: Send notification
101+
needs:
102+
- release
103+
if: ${{ always() && needs.release.result == 'failure' }}
104+
uses: bitnami/support/.github/workflows/gchat-notification.yml@main
105+
with:
106+
workflow: ${{ github.workflow }}
107+
job-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
108+
secrets:
109+
webhook-url: ${{ secrets.GCHAT_CONTENT_ALERTS_WEBHOOK_URL }}

0 commit comments

Comments
 (0)