From 3bc8c5f85668cc83bbefe5bf251c9a6a2adf9b50 Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Fri, 13 Dec 2024 01:23:56 +0530 Subject: [PATCH] added support for private github repo through github connections --- app/components/settings/connections/ConnectionsTab.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/settings/connections/ConnectionsTab.tsx b/app/components/settings/connections/ConnectionsTab.tsx index 32d0fa09b..604948220 100644 --- a/app/components/settings/connections/ConnectionsTab.tsx +++ b/app/components/settings/connections/ConnectionsTab.tsx @@ -10,6 +10,7 @@ export default function ConnectionsTab() { Cookies.set('githubUsername', githubUsername); Cookies.set('githubToken', githubToken); toast.success('GitHub credentials saved successfully!'); + Cookies.set('git:github.com', JSON.stringify({ username: githubToken, password: 'x-oauth-basic' })); }; return (