Skip to content

GHA-210 Send release summary to the Slack channel.#117

Merged
tomasz-tylenda-sonarsource merged 8 commits intomasterfrom
tt/slack
Mar 13, 2026
Merged

GHA-210 Send release summary to the Slack channel.#117
tomasz-tylenda-sonarsource merged 8 commits intomasterfrom
tt/slack

Conversation

@tomasz-tylenda-sonarsource
Copy link
Contributor

@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource commented Mar 12, 2026

In order to avoid problems with Docker, we create a reusable action slack-message to send a markdown messages.

Test run: https://github.com/SonarSource/sonar-ruby/actions/runs/23011828945 (Slack: #squad-jvm-releases)
Test on private runner: https://github.com/SonarSource/sonar-apex/actions/runs/23052390757

@hashicorp-vault-sonar-prod
Copy link

hashicorp-vault-sonar-prod bot commented Mar 12, 2026

GHA-210

Copy link
Contributor

@nils-werner-sonarsource nils-werner-sonarsource left a comment

Choose a reason for hiding this comment

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

Please see my comments

Copy link
Contributor

@nils-werner-sonarsource nils-werner-sonarsource left a comment

Choose a reason for hiding this comment

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

LGTM!

@sonarqubecloud
Copy link

SonarQube reviewer guide

Review in SonarQube

Summary: Refactor release workflow summary job to support multi-project releases and add Slack notifications via a new reusable action.

Review Focus:

  • The message generation logic is now extracted into a separate step and output as a variable, enabling reuse across multiple notification channels. Verify the bash script correctly handles all result variables, particularly the newly added RESULT_BUMP_VERSION.
  • The hardcoded Jira URL fallback was removed; ensure inputs.release-process is always provided or the workflow handles empty values gracefully.
  • The new slack-message action uses external dependencies (slackify-markdown-action, slack-github-action). Verify version pinning and credential handling via vault-action-wrapper.

Start review at: .github/workflows/automated-release.yml. This is the core change where the refactored logic centralizes message generation, adds project name support, includes dry-run indication, and conditionally posts to Slack—all critical to understanding the release workflow's new behavior.

💬 Please send your feedback

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

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