ci: Automated canary release pipeline#11618
Merged
anthonyshew merged 6 commits intomainfrom Feb 1, 2026
Merged
Conversation
- Fix script injection in skip detection by using env vars instead of direct interpolation - Add version format validation to prevent command injection - Improve PR creation error handling with proper URL validation - Add comprehensive Troubleshooting & Recovery section to RELEASE.md - Fix incorrect documentation link for turborepo-release.yml
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Coverage Report
|
anthonyshew
pushed a commit
that referenced
this pull request
Feb 1, 2026
## Canary Release Versioned docs: https://v2-8-2-canary-3.turborepo.dev ### Included Changes - 469f9dd - fix: Upgrade ts-jest to 29.4.6 to fix brace-expansion ReDoS vulnerabilities (#11623) (#11623) - af6aef8 - fix: Upgrade inquirer to 8.2.7 to fix tmp vulnerability (#11622) (#11622) - 73e1a65 - fix: Consolidate canary releases into release workflow for npm trusted publishing (#11624) (#11624) - e192b8e - fix: Upgrade diff to fix DoS vulnerabilities (#11621) (#11621) - c79e54e - fix: Upgrade rehype packages to fix mdast-util-to-hast vulnerability (#11616) (#11616) - aceb210 - fix: Pass secrets explicitly in canary workflow (#11620) (#11620) - d6ca8cd - fix: Add explicit secrets declarations to release workflow_call trigger (#11619) (#11619) - a0c22ca - ci: Automated canary release pipeline (#11618) (#11618) --- Release PR for turborepo v2.8.2-canary.3 Co-authored-by: Turbobot <turbobot@vercel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an automated canary release pipeline that publishes to npm whenever PRs merge to
main. This eliminates manual release steps for pre-release versions while maintaining the existing manual workflow for stable releases.turborepo-canary.ymlworkflow triggers on push to mainturborepo-release.ymlto supportworkflow_callfor reuseRELEASE.mdKey Changes
New Canary Workflow:
mainwhencrates/**,packages/**,cli/**, or.github/**changeRelease Workflow Refactoring:
workflow_calltrigger with inputs/outputs for reuseis-canaryflag to differentiate canary vs manual releasesstage-branch,version,previous-tag,docs-urlfor callerSecurity Hardening:
${{ }}interpolationDocumentation:
Testing
To verify the canary workflow:
dry_run: trueto test without publishingmainand observe the canary workflowReviewer Notes
The skip detection relies on matching
github.actor == "github-actions[bot]"AND commit message starting withrelease(turborepo):. This prevents infinite loops when the auto-merge PR lands.