Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only announce releases when Hydrogen is included in the release #2634

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

scottdixon
Copy link
Contributor

WHY are these changes introduced?

We have a Slackbot announcing Hydrogen releases in the Partner Slack:

image

Right now it runs on any release, occasionally leading to duplicate announcements.

This update examines the publishedPackages output to determine whether @shopify/hydrogen is included in the release before triggering the Slackbot.

This one's tricky to test without releasing. Ran some tests here (with Hydrogen included) and here (without Hydrogen included) using this workflow.

Copy link
Contributor

shopify bot commented Nov 4, 2024

Oxygen deployed a preview of your sd-slack-announcements branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
classic-remix ✅ Successful (Logs) Preview deployment Inspect deployment November 4, 2024 3:20 AM
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment November 4, 2024 3:20 AM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment November 4, 2024 3:20 AM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment November 4, 2024 3:20 AM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment November 4, 2024 3:20 AM

Learn more about Hydrogen's GitHub integration.

@scottdixon scottdixon merged commit 2a978cd into main Nov 6, 2024
11 checks passed
@scottdixon scottdixon deleted the sd-slack-announcements branch November 6, 2024 00:29
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