fix(deploy): support project-scoped Vercel tokens - #5512
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Reviewed by grok-4.6 · Input: 129.2K · Output: 5.2K · Cached: 162.2K Review guidance: REVIEW.md from base branch |
RSO
enabled auto-merge (squash)
August 26, 2026 12:29
eshurakov
approved these changes
Aug 26, 2026
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
Root cause
Vercel CLI 53.3.1 fetched both the project and its owning team before deploying. The new project-scoped tokens can read their project but intentionally cannot read the team, so the CLI aborted with the misleading
Could not retrieve Project Settingserror before starting a build. Vercel added project-scoped deploy support in 56.3.1; 59.5.0 is the current stable release.Upstream fix: vercel/vercel#16999
Validation
actionlint .github/workflows/deploy-production.yml .github/workflows/promote-vercel-deployment.yml .github/workflows/stage-vercel-deployment.ymlgit diff --checknpm exec --yes --package=vercel@59.5.0 -- vercel --version