Supabase branch merges now need a token with Production Branches read-write (November 2026)
Supabase branch merges fail for scoped tokens with only development access. CI and agents need Production Branches read-write.
What changed
Supabase announced on November 16, 2026 that, since November 12, merging a branch into your main project needs a scoped personal access token with Production Branches: Read-write.
A token with only Development Branches: Read-write now gets a permission error when it calls the Merge a branch endpoint or the MCP merge_branch tool. Creating, pushing, resetting and deleting preview branches with a development-only token works as before. Classic personal access tokens are not affected.
Prerequisites
- A CI job, script or AI agent that merges Supabase branches with a scoped personal access token
- That token in the variable your job reads. The Supabase CLI uses
SUPABASE_ACCESS_TOKEN
Steps
- Create a new token under Account > Access Tokens with Production Branches read-write. You can't change the permissions of an existing token.
- Use the new token only for the merge step.
- Keep the development-only token for creating and resetting preview branches, so preview work can't write to production.
Test it
Merge a test branch with the new token. Then try the same merge with the development-only token, which should return a permission error.
Not confirmed
- Supabase plans a separate Merge permission later and has not given a date.
Affected by this? Start from a checked Supabase integration
Code with pinned versions, checked against the official docs on a schedule.
