Skip to content

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

Open
mwbrooks wants to merge 1 commit into
mainfrom
mwbrooks-release-slack-notify
Open

mwbrooks wants to merge 1 commit 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.11%. Comparing base (0e78f36) to head (f4ad405).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #717      +/-   ##
==========================================
+ Coverage   78.09%   78.11%   +0.01%     
==========================================
  Files         238      238              
  Lines       18106    18106              
==========================================
+ Hits        14140    14143       +3     
+ Misses       3966     3963       -3     

☔ 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
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.

1 participant