Skip to content

ci: post published releases to the release announcements channel - #717

Merged
mwbrooks merged 4 commits into
mainfrom
mwbrooks-release-slack-notify
Oct 27, 2026
Merged

mwbrooks merged 4 commits into
mainfrom
mwbrooks-release-slack-notify

Conversation

@mwbrooks

Copy link
Copy Markdown
Member

Changelog

N/A, this changes release automation only.

Summary

This pull request lets maintainers and the team hear about each Slack CLI release in Slack, without anyone posting it by hand, matching what our other slackapi projects already do.

  • A release: published trigger on the release workflow runs a new notify job that sends the release link and version to the release announcements webhook.
  • The existing rc job skips release events, and pre-releases (dev-build and feature tags) don't post.

Testing

  • Not run yet: the first real check is publishing the next release from the GitHub Releases page and confirming one post arrives with the release link.
  • Confirmed SLACK_RELEASE_ANNOUNCEMENTS_WEBHOOK_URL is available to this repo as an organization secret.

Notes

  • The post goes out when the release is published, a few minutes before CircleCI finishes uploading the binaries to it.

Requirements

@mwbrooks mwbrooks added semver:patch Use on pull requests to describe the release version increment build M-T: Changes to compilation and CI processes labels Oct 23, 2026
@mwbrooks mwbrooks self-assigned this Oct 23, 2026
@mwbrooks
mwbrooks requested a review from zimeg October 23, 2026 20:01
@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.09%. Comparing base (151f83f) to head (074ed6a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #717   +/-   ##
=======================================
  Coverage   78.08%   78.09%           
=======================================
  Files         238      238           
  Lines       18096    18096           
=======================================
+ Hits        14131    14132    +1     
+ Misses       3965     3964    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

jobs:
rc:
name: RC
if: github.event_name != 'release'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

note: Without this line, publishing a release would also run RC now that we subscribe the published as well.

@mwbrooks
mwbrooks marked this pull request as ready for review October 23, 2026 20:05
@mwbrooks
mwbrooks requested a review from a team as a code owner October 23, 2026 20:05
@mwbrooks
mwbrooks requested a review from srtaalej October 26, 2026 18:58
@mwbrooks mwbrooks added this to the Next Release milestone Oct 26, 2026

@zimeg zimeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@mwbrooks Let's merge this and continue with more automation ongoign!

@mwbrooks
mwbrooks merged commit c56ea6d into main Oct 27, 2026
13 checks passed
@mwbrooks
mwbrooks deleted the mwbrooks-release-slack-notify branch October 27, 2026 00:06
@mwbrooks

Copy link
Copy Markdown
Member Author

Thanks a bunch @zimeg 🙇🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build M-T: Changes to compilation and CI processes semver:patch Use on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants