mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
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. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Optimized the deployment authorization process to skip unnecessary status checks, reducing processing overhead and improving deployment pipeline efficiency. [](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/45781) <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
1 parent
95d1e8abe8
commit
e7e161bf39
1 file changed
+5
@@ -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}`)
|
||||
|
||||
Reference in new issue
Block a user