Skip to content

fix: Consolidate canary releases into release workflow for npm trusted publishing#11624

Merged
anthonyshew merged 1 commit intomainfrom
shew/fix-canary-releases
Feb 1, 2026
Merged

fix: Consolidate canary releases into release workflow for npm trusted publishing#11624
anthonyshew merged 1 commit intomainfrom
shew/fix-canary-releases

Conversation

@anthonyshew
Copy link
Copy Markdown
Contributor

Summary

npm trusted publishing with OIDC verifies the workflow file that initiates the run. When turborepo-canary.yml called turborepo-release.yml via workflow_call, npm still saw turborepo-canary.yml as the originating workflow, causing publishes to fail.

This PR consolidates both release types into a single workflow file so npm trusted publishing always sees turborepo-release.yml.

Changes

  • Add push trigger to turborepo-release.yml with path filters (from old canary workflow)
  • Add concurrency block: canaries queue up, manual releases get unique groups
  • Add check-skip job to detect release PR merges (prevents infinite loops)
  • Fork behavior based on github.event_name:
    • push: forced prerelease increment, auto-merging PR
    • workflow_dispatch: user-selected increment, manual PR
  • Delete turborepo-canary.yml (all functionality now in release workflow)

Test Plan

  1. Push to main with relevant path changes → should trigger canary release flow
  2. Manual workflow dispatch → should trigger normal release flow
  3. Release PR merge (bot actor + release(turborepo): message) → should skip entirely

@anthonyshew anthonyshew requested a review from a team as a code owner February 1, 2026 22:48
@anthonyshew anthonyshew requested review from tknickman and removed request for a team February 1, 2026 22:48
@ghost ghost added the area: ci Internal CI for vercel/turborepo label Feb 1, 2026
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Feb 1, 2026

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

Project Deployment Actions Updated (UTC)
examples-basic-web Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 10:48pm
examples-designsystem-docs Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 10:48pm
examples-gatsby-web Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 10:48pm
examples-kitchensink-blog Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 10:48pm
examples-nonmonorepo Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 10:48pm
examples-svelte-web Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 10:48pm
examples-tailwind-web Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 10:48pm
examples-vite-web Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 10:48pm
turbo-site Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 10:48pm
turborepo-test-coverage Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 10:48pm

@anthonyshew anthonyshew merged commit 73e1a65 into main Feb 1, 2026
39 checks passed
@anthonyshew anthonyshew deleted the shew/fix-canary-releases branch February 1, 2026 22:48
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci Internal CI for vercel/turborepo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant