mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-11 10:06:09 +00:00
notify on more things and include conclusion
This commit is contained in:
parent
7502034005
commit
046ab04745
4
.github/workflows/slack_notify.yml
vendored
4
.github/workflows/slack_notify.yml
vendored
@ -2,7 +2,7 @@ name: Slack Notification
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Backend Tests"]
|
||||
workflows: ["Backend Tests", "Frontend Tests", "Docker Image For Main Builds", "Release Builds"]
|
||||
types: [completed]
|
||||
|
||||
jobs:
|
||||
@ -13,5 +13,5 @@ jobs:
|
||||
if: ${{ github.event.workflow_run.conclusion != 'success' }}
|
||||
run: |
|
||||
curl -X POST -H 'Content-type: application/json' \
|
||||
--data '{"text":"Workflow <${{ github.event.workflow_run.html_url }}|${{ github.event.workflow.name }}> failed!"}' \
|
||||
--data '{"text":"spiff-arena workflow <${{ github.event.workflow_run.html_url }}|${{ github.event.workflow.name }}> ended with conclusion ${{github.event.workflow_run.conclusion}}!"}' \
|
||||
${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user