Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: disable automatic branching for free projects (#46347)

Gildas Garciaba46170b6698
diff --git a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
index 540d8b73777..f21f91bbd01 100644
--- a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
+++ b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
@@ -219,7 +219,7 @@ export const GitHubIntegrationConnectionForm = ({
workdir: data.supabaseDirectory,
supabase_changes_only: data.supabaseChangesOnly,
branch_limit: Number(data.branchLimit),
- new_branch_per_pr: data.new_branch_per_pr,
+ new_branch_per_pr: data.new_branch_per_pr ?? false,
},
})
@@ -268,7 +268,7 @@ export const GitHubIntegrationConnectionForm = ({
workdir: data.supabaseDirectory,
supabase_changes_only: data.supabaseChangesOnly,
branch_limit: Number(data.branchLimit),
- new_branch_per_pr: data.new_branch_per_pr,
+ new_branch_per_pr: data.new_branch_per_pr ?? false,
},
})