Skip to content

Commit

Permalink
Merge pull request #65 from bitnami/worflows-add-notification
Browse files Browse the repository at this point in the history
github-actions: Add gchat notification
  • Loading branch information
migruiz4 authored Feb 10, 2025
2 parents 2ba2be0 + 1c9e4dc commit 30837c9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,14 @@ jobs:
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
notify:
name: Send notification
needs:
- release
if: ${{ always() && needs.release.result == 'failure' }}
uses: bitnami/support/.github/workflows/gchat-notification.yml@main
with:
workflow: ${{ github.workflow }}
job-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
secrets:
webhook-url: ${{ secrets.GCHAT_CONTENT_ALERTS_WEBHOOK_URL }}

0 comments on commit 30837c9

Please sign in to comment.