Skip to content

feat(ci): add Slack deployment notification to production pipeline#3118

Open
yodem wants to merge 1 commit intomasterfrom
feature/sc-42024/add-slack-deployment-announcement-to-release
Open

feat(ci): add Slack deployment notification to production pipeline#3118
yodem wants to merge 1 commit intomasterfrom
feature/sc-42024/add-slack-deployment-announcement-to-release

Conversation

@yodem
Copy link
Collaborator

@yodem yodem commented Feb 26, 2026

Description

Adds a Slack notification step to the production deployment pipeline. On successful production deploy, a message is sent to Slack with the deployed version, chart version, and a changelog of commits since the previous tag.

Code Changes

.github/workflows/production-deploy.yaml

  • Checkout step (prod-deploy job): Set fetch-depth: 0 so the full git history and tags are available for changelog generation.
  • New step – Send Slack deployment notification: Added after the "Update workflow default chart" step:
    • Uses secrets.QA_SLACK_WEBHOOK_URL for the Slack Incoming Webhook.
    • Skips execution when the webhook URL is unset.
    • Uses continue-on-error: true so notification failures do not fail the workflow.
    • Builds changelog from git log (commits since the previous tag, up to 15, or last 10 commits if there is no previous tag).
    • Sends a message with version, chart version, and a bulleted list of commits (subject + short hash).
    • Uses jq -Rs '{text: .}' to build the JSON payload and curl to POST to Slack.

Notes

  • SC-42024: Implements the Slack deployment announcement feature.
  • No-op behavior: If the webhook URL is missing or the step fails (e.g. network, invalid URL), the workflow still succeeds.
  • Reused secret: Uses the existing QA_SLACK_WEBHOOK_URL secret; no new secret is required.
  • Checkout impact: fetch-depth: 0 increases checkout size and time slightly for the prod-deploy job.

Sends a Slack message on successful production deploy with version,
chart version, and changelog (commits since previous tag).
Uses QA_SLACK_WEBHOOK_URL, no-op if unset or on failure.

Fixes SC-42024

Made-with: Cursor
@mergify
Copy link

mergify bot commented Feb 26, 2026

🧪 CI Insights

Here's what we observed from your CI run for 837fe90.

🟢 All jobs passed!

But CI Insights is watching 👀

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