Skip to content

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

fix: update prod branch name together with git branch (#37976)

Han Qiaobc3a6e787b28
diff --git a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
index 2c604636847..e9c083c1975 100644
--- a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
+++ b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
@@ -296,6 +296,7 @@ const GitHubIntegrationConnectionForm = ({
id: prodBranch.id,
projectRef: selectedProject.ref,
gitBranch: data.enableProductionSync ? data.branchName : '',
+ branchName: data.branchName || 'main',
})
}