Skip to content

chore: drop custom deployment Slack notifications in favor of the GitHub app - #211

Merged
cdelfabbro merged 2 commits into
masterfrom
chore/remove-custom-deployment-slack-notifications
Oct 13, 2026
Merged

cdelfabbro merged 2 commits into
masterfrom
chore/remove-custom-deployment-slack-notifications

Conversation

@cdelfabbro

Copy link
Copy Markdown
Contributor

Deployment notifications on Slack now come from the GitHub app, subscribed org-wide by workflow name in #deployment-updates-prod and #deployment-updates-preprod. It covers every deployment workflow (migrations, smoke tests and all), including repositories created later, whereas our custom messages only covered the ECS/Terraform step.

Changes

  • notify-deployment-in-progress-v2: the Slack step is removed, the Datadog event stays. slack_bot_token, slack_channel and slack_notify are kept as deprecated, ignored inputs so the repositories calling the action directly (hephaistos, infrastructure-sencrop, zephyr, dsp) keep working until they are cleaned up.
  • The Datadog event text used undeclared inputs (current_version, deployed_version) and read "updated from version to"; it now uses former_version and new_version.
  • ecs-deploy-v3 and terraform-deploy-v1: the #ops / #ops-preprod success and failure messages are removed, with their notify_on_success and slack_channel inputs. No repository of the org passes these inputs (checked with a code search).
  • README updated.

Note

The removed "Find slack channel" step also failed the job on an unknown environment. Nothing replaces that check: an unknown environment still fails later, at the <environment>.tfvars lookup.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review comments remain, and all reviewers assessed it as ready.

0 open findings

What changed in this PR

Replaces custom Slack deployment notifications with GitHub App notifications while preserving Datadog tracking and backward compatibility.

Changes:

  • Removes custom Slack notifications from deployment workflows.
  • Keeps deprecated Slack inputs for direct action callers.
  • Corrects Datadog version fields.
  • Updates documentation.
File Summary
README.md Documents GitHub App notifications.
actions/​notify-deployment-in-progress-v2/​action.yaml Removes Slack execution and fixes Datadog inputs.
.github/​workflows/​terraform-deploy-v1.yml Removes Terraform Slack notifications.
.github/​workflows/​netlify-deploy-v1.yml Removes the obsolete Slack token input.
.github/​workflows/​ecs-deploy-v3.yml Removes ECS Slack notifications.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@cdelfabbro
cdelfabbro merged commit 7d8fcab into master Oct 13, 2026
1 check passed
@cdelfabbro
cdelfabbro deleted the chore/remove-custom-deployment-slack-notifications branch October 13, 2026 14:20
cdelfabbro added a commit that referenced this pull request Oct 13, 2026
…gress (#212)

Follow-up of #211: `slack_bot_token`, `slack_channel` and `slack_notify`
were kept as deprecated, ignored inputs while the repositories calling
the action directly stopped passing them (hephaistos#1342,
infrastructure-sencrop#2441, zephyr#230, dsp#1124, all merged). A code
search of the org finds no caller passing them anymore.
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