File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 5252 run : |
5353 make logs
5454 cat logs.txt
55+
56+ - name : Send a Slack notification
57+ if : failure() || github.event_name != 'pull_request'
58+ uses : ravsamhq/notify-slack-action@v2
59+ with :
60+ status : ${{ job.status }}
61+ token : ${{ secrets.GITHUB_TOKEN }}
62+ notification_title : " {workflow} has {status_message}"
63+ message_format : " {emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>"
64+ footer : " Linked Repo <{repo_url}|{repo}> | <{run_url}|View Workflow run>"
65+ notify_when : " failure"
66+ env :
67+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
68+
69+ - name : Generate a Diagnostic Report
70+ if : failure()
71+ run : |
72+ curl -s localhost:4566/_localstack/diagnose | gzip -cf > diagnose.json.gz
73+
74+ - name : Upload the Diagnostic Report
75+ if : failure()
76+ uses : actions/upload-artifact@v4
77+ with :
78+ name : diagnose.json.gz
79+ path : ./diagnose.json.gz
You can’t perform that action at this time.
0 commit comments