Skip to content

fix: expose stable v3 release dispatch on default branch - #1793

Merged
Ollie Husband (Ollie-H) merged 1 commit into
developmentfrom
fix/v3-stable-release-default-branch
Nov 12, 2026
Merged

Ollie Husband (Ollie-H) merged 1 commit into
developmentfrom
fix/v3-stable-release-default-branch

Conversation

@Ollie-H

@Ollie-H Ollie Husband (Ollie-H) commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Adds the opt-in publish-v3-release input to the default-branch workflow so it is available in GitHub Actions' manual dispatch form.

The stable publish path remains gated to the v3 ref, and selecting both stable and prerelease modes prevents publishing. Companion to #1792, which adds the corresponding execution path on v3.

Summary by Bito

Updates the default-branch GitHub Actions workflow so its manual dispatch form can request a stable v3 release. Stable publishing remains gated to the v3 ref.

Detailed Changes
  • Adds the optional `publish-v3-release` boolean input, defaulting to false, to the `workflow_dispatch` form in `main.yml`.
  • Extends the publish job condition in `main.yml` to allow the stable-release request only on the v3 ref and to block publishing when both stable and prerelease modes are selected.

@Ollie-H
Ollie Husband (Ollie-H) requested a review from a team as a code owner November 12, 2026 19:16
@vercel

vercel Bot commented Nov 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nextjs-marketing-demo-bug-test Building Building Preview Nov 12, 2026 7:16pm UTC
3 Skipped Deployments
Project Deployment Actions Updated
experience-builder-test-app Ignored Ignored Nov 12, 2026 7:16pm UTC
studio-nextjs-marketing-demo Ignored Ignored Nov 12, 2026 7:16pm UTC
studio-react-vite-template Ignored Ignored Nov 12, 2026 7:16pm UTC

Request Review

@bito-code-review

bito-code-review Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Code Review Agent Run #d4e808

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: 7aba9aa..7aba9aa
    • .github/workflows/main.yml
  • Files skipped - 0
  • Tools
    • Copy/Paste Detector (Copy/Paste Detector) - ✔︎ Successful
    • Secret Scanner (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Default Agent You can customize the agent settings here

Documentation & Help

AI Code Review powered by Bito Logo

@bito-code-review

Copy link
Copy Markdown
Interaction Diagram by Bito
sequenceDiagram
participant Maintainer as Maintainer
participant Actions as GitHub Actions
participant Main as Main workflow<br/>🔄 Updated | ●●○ Medium
participant Build as Build workflow
participant Check as Check workflow
participant Publish as Publish workflow
participant Vault as Vault
participant Lerna as Lerna
participant Registry as GitHub Packages and Releases
Maintainer->>Actions: Dispatch workflow on v3 with publish-v3-release enabled
Actions->>Main: Invoke workflow_dispatch
Main->>Build: Run install and build job
Build-->>Main: Return build result
Main->>Check: Run checks after build
Check-->>Main: Return check result
alt [publish guard passes for v3 stable release]
Main->>Publish: Call publish workflow with prerelease false
Publish->>Vault: Retrieve publishing credentials
Publish->>Lerna: Check changed packages and run stable publish
Lerna-->>Publish: Return package versioning result
Lerna->>Registry: Publish packages and create GitHub release
Registry-->>Lerna: Return publish result
else [publish guard fails or both v3 flags are enabled]
Main-->>Maintainer: Skip publish job
  end
Publish-->>Main: Return publish job result
Main-->>Maintainer: Report workflow result
Loading

Critical path: Maintainer ->Main workflow (MODIFIED) ->Publish workflow ->Lerna ->GitHub Packages and Releases

Note: This MR updates the main GitHub Actions workflow with a manual option for stable releases from the v3 branch and prevents that option from being combined with prerelease publishing. The workflow retains build and check gates, then uses the existing publishing integration to version and persist packages in GitHub Packages and create a GitHub release. A cross-repository dependency lookup was unavailable, so cross-repo consumers could not be confirmed.

If the interaction diagram doesn't appear, refresh the page to render it.

You can disable interaction diagrams by customizing agent settings. Refer to documentation.

@bito-code-review

Copy link
Copy Markdown

Changelist by Bito

This pull request implements the following key changes.

Key Change Files Impacted Summary
Feature Improvement - Enable manual stable v3 release dispatch
Adds an opt-in boolean input for requesting a stable v3 release from the workflow dispatch form. The publish job accepts this request only on the v3 ref and prevents selecting stable and prerelease modes together.

@bito-code-review

Copy link
Copy Markdown

✅ Review Settings Overridden

Status: Overridden Successfully

Accepted settings

  • exclude_draft_pr
  • exclude_files
  • linters_feedback
  • post_changelist
  • post_description
  • repo_level_guidelines_enabled
  • secret_scanner_feedback
  • sequence_diagram_enabled
  • suggestion_mode

Custom guidelines
General:

  • Review Posture
  • Repo Truth And Alignment
  • Domain Invariants

Only the first 3 general and 1 per-language guideline are processed, and guidelines are read from the source branch.

@Ollie-H
Ollie Husband (Ollie-H) merged commit 927d763 into development Nov 12, 2026
19 checks passed
@Ollie-H
Ollie Husband (Ollie-H) deleted the fix/v3-stable-release-default-branch branch November 12, 2026 19:22

This branch was successfully deployed

1 active deployment
Preview – nextjs-marketing-demo-bug-test — 7aba9aa9 Deployed Nov 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant