Skip to content

Conversation

@ttaylor-stack
Copy link
Collaborator

Closes SPARK-13.

Describe your changes

merge release and release_beta into 1 job

PR Checklist

  • All new/changed functionality includes unit and (optionally) e2e tests as appropriate
  • All new/changed functions have /** ... */ docs
  • I've added the bug/enhancement and other labels as appropriate

Environment(s) tested

  • Device: [e.g. desktop, iPhone6, etc.]
  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context

Add any other context about the PR here.

@ttaylor-stack ttaylor-stack requested a review from giamir August 26, 2025 12:25
@changeset-bot
Copy link

changeset-bot bot commented Aug 26, 2025

⚠️ No Changeset found

Latest commit: 06bb952

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

@netlify
Copy link

netlify bot commented Aug 26, 2025

Deploy Preview for stacks-editor ready!

Name Link
🔨 Latest commit 06bb952
🔍 Latest deploy log https://app.netlify.com/projects/stacks-editor/deploys/68aecee0aa5cde0008df8786
😎 Deploy Preview https://deploy-preview-481--stacks-editor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

release:
name: Release
if: github.ref == 'refs/heads/main'
name: ${{ github.ref == 'refs/heads/main' && 'Release' || 'Release Beta'}}
Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't look like this work as expected @ttaylor-stack. See this screenshot from the UI checks in the PR
Screenshot 2025-08-27 at 10 07 47

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not entirely sure though why it is not working. One small suggestion (which won't help to fix this specific issue) is to check for the beta branch instead.

${{ github.ref == 'refs/heads/beta' && 'Release Beta' || 'Release' }}

I’m suggesting this because I believe it’s preferable to use Release as the fallback. For instance, in PRs the check will be named with the generic Release even if it isn’t executed.

Copy link
Contributor

@giamir giamir left a comment

Choose a reason for hiding this comment

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

Looks ready to be tested. Thanks @ttaylor-stack

@ttaylor-stack ttaylor-stack merged commit e3fbd64 into main Aug 27, 2025
6 checks passed
@ttaylor-stack ttaylor-stack deleted the chore/refactor-main.yml branch August 27, 2025 09:39
ttaylor-stack added a commit that referenced this pull request Aug 27, 2025
* chore(refactor) - refactor main.yml (#481)

* refactor main.yaml

* change empty string to null

* update name

* refactor: update condition

* test change

* update name

* create changeset
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.

3 participants