Skip to content

Commit f1ef374

Browse files
strickvlclaude
andcommitted
Add Discord notification for MCP smoke test failures
- Add Discord webhook notification step that triggers on smoke test failures - Include workflow run details, branch, commit, and trigger information - Use red color and GitHub Actions branding for failure notifications - Requires DISCORD_WEBHOOK secret to be configured in repository settings 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 2ba0910 commit f1ef374

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/mcp-smoke-test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,24 @@ jobs:
122122
});
123123
}
124124
125+
- name: Send Discord notification on failure
126+
if: steps.smoke-test.outcome == 'failure'
127+
uses: sarisia/actions-status-discord@v1
128+
with:
129+
webhook: ${{ secrets.DISCORD_WEBHOOK }}
130+
title: "🚨 MCP Smoke Test Failed"
131+
description: |
132+
The automated MCP smoke test has failed for the ZenML MCP server.
133+
134+
**Workflow:** [Run #${{ github.run_number }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
135+
**Branch:** ${{ github.ref_name }}
136+
**Commit:** ${{ github.sha }}
137+
**Triggered by:** ${{ github.event_name }}
138+
139+
Please check the workflow logs for detailed error information.
140+
color: 0xff0000
141+
username: "GitHub Actions"
142+
125143
- name: Report success
126144
if: steps.smoke-test.outcome == 'success'
127145
run: |

0 commit comments

Comments
 (0)