mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
feat: add private gh repos
This commit is contained in:
1 parent
f421bcb2c9
commit
a37f748639
16 files changed
+292
-48
No files matched your search
@@ -15,4 +15,12 @@ class GithubApp extends BaseModel
|
||||
{
|
||||
return $this->belongsTo(PrivateKey::class);
|
||||
}
|
||||
static public function public()
|
||||
{
|
||||
return GithubApp::where('team_id', session('currentTeam')->id)->where('is_public', true)->get();
|
||||
}
|
||||
static public function private()
|
||||
{
|
||||
return GithubApp::where('team_id', session('currentTeam')->id)->where('is_public', false)->get();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user