Skip to content

Add Mattermost failure notification to publish workflow#66

Open
nicoalba wants to merge 4 commits intomainfrom
telegram-build-failure-notify
Open

Add Mattermost failure notification to publish workflow#66
nicoalba wants to merge 4 commits intomainfrom
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 24, 2026 5:51pm

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>
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.

1 participant