Skip to content

fix: format release notification output#2631

Merged
zimeg merged 2 commits into
slackapi:mainfrom
jibin7jose:fix-release-notification-output
Jun 26, 2026
Merged

fix: format release notification output#2631
zimeg merged 2 commits into
slackapi:mainfrom
jibin7jose:fix-release-notification-output

Conversation

@jibin7jose

Copy link
Copy Markdown
Contributor

Summary

Fixes #2610.

This updates the release workflow to write the action_url output using GitHub Actions multi-line output syntax. The previous name=value format failed when multiple packages were published because the release URLs were joined with newlines.

Requirements

@jibin7jose jibin7jose requested a review from a team as a code owner June 21, 2026 13:08
@changeset-bot

changeset-bot Bot commented Jun 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 88cb867

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@salesforce-cla

Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @jibin7jose to sign the Salesforce Inc. Contributor License Agreement.

@jibin7jose

Copy link
Copy Markdown
Contributor Author

This workflow-only change does not require a package version bump, so no changeset was added.

@jibin7jose

Copy link
Copy Markdown
Contributor Author

I have completed the Salesforce CLA. This PR is ready for maintainer review when workflows are approved. Thanks!

@jibin7jose

Copy link
Copy Markdown
Contributor Author

The Salesforce CLA page shows that I already signed the CLA on 2026-06-21, but the salesforce-cla check still reports One or more contributors need to sign the CLA.

Could a maintainer please refresh/re-run the CLA check when possible?

@jibin7jose

Copy link
Copy Markdown
Contributor Author

Hi maintainers,
I completed the Salesforce CLA and verified it is signed, but the salesforce-cla check still shows cla:missing.
Could someone please re-run or refresh the CLA check?
Also, workflows appear to be awaiting maintainer approval before CI can start.
Thanks!

@jibin7jose jibin7jose force-pushed the fix-release-notification-output branch from 2cd273d to e911acf Compare June 22, 2026 03:23
@jibin7jose

Copy link
Copy Markdown
Contributor Author

Thanks, the CLA check is passing now. Could a maintainer please approve the pending workflows when convenient?

@jibin7jose jibin7jose force-pushed the fix-release-notification-output branch from 4af8dfb to 01c9d6c Compare June 23, 2026 04:28
@jibin7jose

Copy link
Copy Markdown
Contributor Author

Hi maintainers,

Just following up on this PR. CLA is now signed successfully, and the branch is up to date with main.

The workflows are still awaiting maintainer approval, so CI checks have not started yet. When convenient, could someone please approve the workflows and review the PR?

Thanks for your time.

@zimeg zimeg added bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented release labels Jun 26, 2026
@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.90%. Comparing base (fefeb07) to head (88cb867).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2631   +/-   ##
=======================================
  Coverage   88.90%   88.90%           
=======================================
  Files          63       63           
  Lines       10256    10256           
  Branches      452      452           
=======================================
  Hits         9118     9118           
  Misses       1117     1117           
  Partials       21       21           
Flag Coverage Δ
cli-hooks 88.90% <ø> (ø)
cli-test 88.90% <ø> (ø)
logger 88.90% <ø> (ø)
oauth 88.90% <ø> (ø)
socket-mode 88.90% <ø> (ø)
web-api 88.90% <ø> (ø)
webhook 88.90% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

@jibin7jose Thanks so much for investigating the line breaking cause of these concern. YAML is... interesting 🦠

I'm feeling solid about this fix and am now curious if we can better support changesets as part of the Slack GitHub Action but that might be exploration for another time 🐙

run: |
echo "message=$(echo "$PUBLISHED_PACKAGES" | jq -r '[.[] | "\(.name)@\(.version)"] | join(", ")')" >> "$GITHUB_OUTPUT"
echo "action_url=$(echo "$PUBLISHED_PACKAGES" | jq -r '[.[] | "https://github.com/${{ github.repository }}/releases/tag/\(.name)@\(.version)"] | join("\n")')" >> "$GITHUB_OUTPUT"
echo "action_url=$(echo "$PUBLISHED_PACKAGES" | jq -r '[.[] | "https://github.com/${{ github.repository }}/releases/tag/\(.name)@\(.version)"] | join(", ")')" >> "$GITHUB_OUTPUT"

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.

🔬 note: We'll trade extended lines for correctness without worries at this time!

$ PUBLISHED_PACKAGES='[{"name": "@xx/xx", "version": "1.2.0"}, {"name": "@xx/xy", "version": "0.8.9"}]' echo "action_url=$(echo "$PUBLISHED_PACKAGES" | jq -r '[.[] | "https://github.com/${{ github.repository }}/releases/tag/\(.name)@\(.version)"] | join(", ")')"
action_url=https://github.com/${{ github.repository }}/releases/tag/@xx/xx@1.2.0, https://github.com/${{ github.repository }}/releases/tag/@xx/xy@0.8.9

@zimeg zimeg merged commit 597dbbf into slackapi:main Jun 26, 2026
12 checks passed
@zimeg

zimeg commented Jun 26, 2026

Copy link
Copy Markdown
Member

🌟 note: Let's follow up later with a release of #2628 in hopes these errors disappear!

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

Labels

bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented cla:signed release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release notifications fail to format after releases are published

2 participants