From e7e161bf394e1b01cc291150b334b69d0e239b85 Mon Sep 17 00:00:00 2001 From: Etienne Stalmans Date: Mon, 11 May 2026 10:00:25 +0200 Subject: [PATCH] chore: skip auto approve for studio (#45781) Studio builds get skipped in Vercel anyway, but be deliberate in skipping approval. We don't want forks to be able to have a studio deployment approved. ## Summary by CodeRabbit * **Bug Fixes** * Optimized the deployment authorization process to skip unnecessary status checks, reducing processing overhead and improving deployment pipeline efficiency. [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/45781) --- scripts/authorizeVercelDeploys.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/authorizeVercelDeploys.ts b/scripts/authorizeVercelDeploys.ts index 8a068193d51..a3b0dc36222 100644 --- a/scripts/authorizeVercelDeploys.ts +++ b/scripts/authorizeVercelDeploys.ts @@ -122,6 +122,11 @@ async function main() { // Process each authorization-required status for (const status of authRequiredStatuses) { + if (status.context === 'Vercel - studio') { + console.log(`\nSkipping status: ${status.context}`) + continue + } + try { console.log(`\nProcessing status: ${status.context}`) console.log(`Target URL: ${status.target_url}`)