diff --git a/.github/workflows/release-to-prod.yml b/.github/workflows/release-to-prod.yml index 037676e4f62..bed9fb2b96b 100644 --- a/.github/workflows/release-to-prod.yml +++ b/.github/workflows/release-to-prod.yml @@ -44,3 +44,12 @@ jobs: expect-response-regex: '"status":"success"' timeout: 120000 interval: 3000 + + - name: Report Status + if: failure() + uses: ravsamhq/notify-slack-action@v2 + with: + status: ${{ job.status }} + notify_when: "failure" + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GH_ACTIONS_NOTIFICATIONS }} diff --git a/.github/workflows/release-to-staging.yml b/.github/workflows/release-to-staging.yml index 329268d89d9..e1ed2df1f79 100644 --- a/.github/workflows/release-to-staging.yml +++ b/.github/workflows/release-to-staging.yml @@ -120,3 +120,12 @@ jobs: expect-response-regex: '"status":"success"' timeout: 120000 interval: 3000 + + - name: Report Status + if: failure() + uses: ravsamhq/notify-slack-action@v2 + with: + status: ${{ job.status }} + notify_when: "failure" + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GH_ACTIONS_NOTIFICATIONS }}