Skip to content

chore: migrate deploy notification from Slack to Mattermost#12

Merged
adriantaut merged 14 commits intomainfrom
chore/migrate-deploy-notification-to-mattermost
Feb 24, 2026
Merged

chore: migrate deploy notification from Slack to Mattermost#12
adriantaut merged 14 commits intomainfrom
chore/migrate-deploy-notification-to-mattermost

Conversation

@adriantaut
Copy link
Collaborator

@adriantaut adriantaut commented Feb 24, 2026

Summary

  • Replace rtCamp/action-slack-notify@v2 with mattermost/action-mattermost-notify@master in the infra-deploy workflow
  • Deploy status notifications now post to Mattermost #devops-alerts via incoming webhook
  • Colored sidebar (green for success, red for failure) via attachments
  • Clickable links for Product (repo), Actions URL, Commit (short SHA), and Actor (GitHub profile)
  • Dynamic username: {repo-name}-deployer
  • Added MATTERMOST_WEBHOOK repo secret

Test plan

  • Verified Mattermost webhook is active (200 response, test messages delivered)
  • Tested colored attachments (green/red sidebar)
  • Tested clickable URLs for commit, actions, actor, product
  • Tested table formatting in Mattermost
  • Merge and verify deploy notification appears in #devops-alerts

🤖 Generated with Claude Code

Replace rtCamp/action-slack-notify with mattermost/action-mattermost-notify
for CDK deployment status notifications. Posts to #release-notifications
via incoming webhook.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adriantaut adriantaut self-assigned this Feb 24, 2026
adriantaut and others added 13 commits February 24, 2026 19:55
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Switch from TEXT to PAYLOAD with colored attachments (green/red)
- Add temporary Mattermost notification to infra-ci synth job for testing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Match the official mattermost/action-mattermost-notify usage pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PAYLOAD bypasses MATTERMOST_CHANNEL/USERNAME inputs, so they must be
inside the JSON. Added clickable links for Actions run and commit SHA.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Temporarily comment out CI steps for fast notification testing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Product links to GitHub repo, Actor links to GitHub profile,
Commit links to commit SHA. Commit message shown below table.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The infra/ directory doesn't exist since checkout is commented out.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove temporary test notification steps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adriantaut adriantaut merged commit 6ec43c0 into main Feb 24, 2026
4 checks passed
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