Skip to content

Commit

Permalink
Send notification for failed infra deploy status check (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenyu authored Jan 7, 2025
1 parent 2d87adf commit dd59127
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/check-infra-deploy-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,12 @@ jobs:
echo "::endgroup::"
env:
TF_IN_AUTOMATION: "true"
notify:
name: Notify
needs: check
if: failure()
uses: ./.github/workflows/send-system-notification.yml
with:
channel: "workflow-failures"
message: "🔍 [Infrastructure state differs from configuration](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"
secrets: inherit

0 comments on commit dd59127

Please sign in to comment.