Skip to content

Commit f9407cb

Browse files
authored
Fix notify on failure (#4816)
1 parent 75c4b57 commit f9407cb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,15 @@ jobs:
5555
name: playwright-report
5656
path: packages/playwright/playwright-report/
5757
retention-days: 30
58+
59+
- name: Report Status
60+
if: always()
61+
uses: ravsamhq/notify-slack-action@v1
62+
with:
63+
status: ${{ job.status }}
64+
notify_when: 'failure'
65+
notification_title: '{workflow} has {status_message}'
66+
message_format: '{emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>'
67+
footer: 'Linked to Repo <{repo_url}|{repo}>'
68+
env:
69+
SLACK_WEBHOOK_URL: ${{ secrets.E2E_MONITORING_SLACK }}

0 commit comments

Comments
 (0)