Skip to content

Add Mattermost failure notification to publish workflow#66

Merged
nicoalba merged 9 commits into
mainfrom
telegram-build-failure-notify
Apr 29, 2026
Merged

Add Mattermost failure notification to publish workflow#66
nicoalba merged 9 commits into
mainfrom
telegram-build-failure-notify

Conversation

@nicoalba
Copy link
Copy Markdown
Contributor

@nicoalba nicoalba commented Apr 23, 2026

Summary

  • Adds a notify-on-failure job to publish.yml that runs when publish-docs-from-container fail

Sends a message to the Claude Code tmux session when the build fails,
including the run ID so logs can be fetched and analyzed automatically.

Requires TELEGRAM_BOT_TOKEN added as a repo Actions secret.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docusaurus-shared Ready Ready Preview, Comment Apr 29, 2026 7:48pm

Request Review

Routes the build failure alert through the OpenZiti network using
openziti/ziti-mattermost-action-py instead of a direct Telegram curl call.
Requires ZITI_MATTERMOST_IDENTITY and MATTERMOST_WEBHOOK_URL repo secrets.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nicoalba nicoalba changed the title Add Telegram failure notification to publish workflow Add Mattermost failure notification to publish workflow Apr 23, 2026
Replaces the unfinished OpenZiti-based action (which had no secrets configured)
with a plain curl POST to the MATTERMOST_DOC_ALERTS_WEBHOOK secret.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mirrors the existing failure notification so doc-alerts channel gets
a message on every build outcome, not just failures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nicoalba nicoalba merged commit 88f960c into main Apr 29, 2026
7 checks passed
@nicoalba nicoalba deleted the telegram-build-failure-notify branch April 29, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants