In v0, a team wants no change to reach production without a teammate's approval. What actually holds back a Publish, and where are the gaps?
answer
- Publish merges the pull request itself
- the gate lives in GitHub
- no repository, no pull request
- v0 role versus Vercel role
- Builder is team-wide
basics
~20 sv0's Publish merges the chat's pull request itself, so a teammate's review happens only if the repository requires one on the base branch. Projects without GitHub deploy straight to Vercel, and v0 roles decide who may publish.
solid answer
~50 sIn a GitHub-backed project, **Publish** creates or reuses the chat's pull request, **merges it into the base branch** and waits for production — the merge is v0's own action. What holds the merge back is the repository's rules: required reviews, required checks, draft pull requests and other branch protections block the merge, and v0 keeps the pull request open, explains what is missing and links to it; **Fix CI** and **Fix Conflicts** address checks and conflicts, but required human reviews are completed in GitHub. The gaps: a project **without GitHub** deploys the chat's code directly to Vercel, with no pull request at all; the protection must cover whichever base branch the chat targets; and permission is split — **v0 roles** govern Publish, Vercel roles govern GitHub and CLI deploys, and **v0 Builder** applies to every v0-connected project in the team. Team Deployment Policies can block v0 as a source.
go deeper
Know that v0's Publish merges its own pull request, so a teammate's review happens only if the repository requires one.
Explain what blocks the merge — required reviews and checks, draft pull requests, branch protection — and what Fix CI and Fix Conflicts can and cannot clear.
Close the gaps: unconnected projects deploy directly, base branches vary per chat, Publish follows v0 roles, and v0 Builder spans every connected project.
Design the access model: which members get v0 Builder versus Creator, which branches are protected, and whether Deployment Policies should allow v0 everywhere.
## The situation A developer builds with v0, but the team's rule is that nothing ships without a teammate's approval. The trap is assuming that because v0 opens a pull request, a review happens. In v0, **Publish** both opens and **merges** the pull request, so the question is what can stop that merge — and what never reaches a pull request at all. ## What Publish does | Project | What Publish does | |---|---| | **GitHub-backed** | Creates a pull request for the working branch, or reuses its existing one; **merges it into the chat's base branch**; waits for the production deployment | | **Not connected to GitHub** | Deploys the chat's current code **directly** to the connected Vercel project | The second row is the first gap: without a connected repository there is no pull request, so no GitHub rule can intervene. Connecting the project to GitHub is the precondition for any review gate. ## What can stop the merge v0 follows the repository's GitHub rules. Per its GitHub page, these block a Publish: - **required reviews** on the target branch; - **required checks** that have not passed; - a **draft** pull request; - other branch protections. When one applies, v0 **keeps the pull request open**, explains what needs attention and links to it on GitHub. The developer completes the requirement and selects **Publish** again. v0 can help with the machine-fixable parts — **Fix CI**, **Fix Conflicts** or **Fix CI + Conflicts** from the branch menu — but the docs are explicit that **required human reviews must be completed in GitHub**. How branch protection and required reviews themselves work is the GitHub material's subject; for v0 the point is that they are the only reviewer-shaped gate. ## The gaps to close 1. **Unconnected projects.** Publish deploys directly; insist that projects headed for production are connected to the team's repository. 2. **The base branch is chosen per chat.** A chat's pull request targets its base branch, picked at import. The protection has to cover the branches chats may target, not only the default branch. 3. **Roles are split by interface.** v0 roles control actions in the v0 web app; GitHub-triggered deployments, the Vercel dashboard and the Vercel CLI use **Vercel roles and project permissions**. GitHub sync "does not grant permission to deploy". A **Vercel Viewer with the v0 Builder role can publish from v0** but cannot deploy through GitHub or the Vercel CLI. 4. **v0 Builder is team-wide.** A Builder can create deployments and manage environment variables on **every** v0-connected Vercel project in the team, not only those they were added to. On Plus and Business plans Builder is the only v0 role; Enterprise adds **v0 Creator** (build without deploying) and **v0 Viewer** (view only). 5. **Deployment Policies.** Teams can restrict which Git sources and deployment mechanisms may create deployments; if a policy blocks v0 for an environment, a team Owner must allow it or override it per project. ## Reviewing before Publish Each working branch has its own **preview deployment**, and the branch menu shows the diff, the pull request and CI status, plus a **Review Code** action. These help the developer, but none of them is an approval: only a rule on the target branch makes a teammate's review mandatory. ## A checklist for the lead - Connect every production-bound v0 project to GitHub. - Require reviews and checks on every branch chats may use as a base. - Assign v0 Builder only to people who may deploy every v0-connected project; on Enterprise, use v0 Creator for the rest. - Check Deployment Policies so v0 is allowed exactly where intended. ## Why the split matters in practice The same person can see two different answers to "may I deploy?". In the v0 web app, a member with the v0 Builder role can publish a connected project even if their Vercel team role is Viewer. Pushing the same code to the repository, or running the Vercel CLI, is judged by the Vercel role instead and fails for a Viewer. Leads who audit only the Vercel team roles therefore miss who can ship through v0, and leads who audit only v0 roles miss who can ship around it. Publishing from v0 also needs a v0 role that can edit the chat, and the deployments page lists that, project permissions and team deployment policies among the reasons **Publish** can be disabled.
- In v0, a Publish is blocked by a required review. Can the developer ask v0 to clear it?No. v0 can act on what it can fix — failed CI and merge conflicts through **Fix CI**, **Fix Conflicts** or **Fix CI + Conflicts** — but required human reviews must be completed in GitHub. v0 keeps the pull request open and links to it; after the approval, the developer selects **Publish** again.
- A Vercel Viewer on the team pushes to the repository and the Vercel deployment is blocked, yet they publish from v0 fine. Why?Permissions are split by interface. Publishing from the v0 web app uses their v0 role, and the v0 Builder role lets them deploy v0-connected projects. A deployment triggered from GitHub or the Vercel CLI uses their Vercel role, and a Vercel Viewer cannot deploy that way. GitHub sync never grants deploy permission.
- Because v0 opens a pull request, every v0 change is reviewed
- Fix CI can satisfy a required human review
- A project without GitHub still goes through a pull request
- GitHub sync gives v0 users permission to deploy through GitHub
- The v0 Builder role covers only projects the member was added to