Skip to content

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

fix missing warning for changing prod branch (#21839)

Joshen Limcff9cc3522bc
diff --git a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
index 07aa954d7b4..ccd89048f73 100644
--- a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
+++ b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
@@ -123,6 +123,16 @@ const GitHubIntegrationConnectionForm = ({ connection }: GitHubIntegrationConnec
All other branches will be treated as Preview branches
</p>
+ <Alert_Shadcn_ className="mb-4 w-96">
+ <AlertTitle_Shadcn_ className="text-sm">
+ Changing Git branch for Production Branch coming soon
+ </AlertTitle_Shadcn_>
+ <AlertDescription_Shadcn_ className="text-xs">
+ If you wish to change the Git branch that is used for the Production Branch you will
+ need to disable Branching and opt back in.
+ </AlertDescription_Shadcn_>
+ </Alert_Shadcn_>
+
{/* <pre>! This should only work if branching is turned on !</pre> */}
<Popover_Shadcn_ open={open} onOpenChange={setOpen} modal={false}>