Skip to content

Commit 6a5ed21

Browse files
authored
Merge pull request #670 from thecodacus/private-github-repo
added support for private github repo through github connections
2 parents 9666b2a + 3bc8c5f commit 6a5ed21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/components/settings/connections/ConnectionsTab.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default function ConnectionsTab() {
1515
hasToken: !!githubToken,
1616
});
1717
toast.success('GitHub credentials saved successfully!');
18+
Cookies.set('git:github.com', JSON.stringify({ username: githubToken, password: 'x-oauth-basic' }));
1819
};
1920

2021
return (

0 commit comments

Comments
 (0)