@if (data_get($github_app, 'app_id'))

GitHub App

@if (data_get($github_app, 'installation_id')) Save @endif @can('delete', $github_app) @if ($applications->count() > 0) @else @endif @endcan
Your Private GitHub App for private repositories.
@if (!data_get($github_app, 'installation_id'))
You must complete this step before you can use this source!
Install Repositories on GitHub @else
Sync Name @can('update', $github_app) Rename Update Repositories @endcan
@if (!isCloud())
@if ($isSystemWide) System-wide GitHub Apps are shared across all teams on this Coolify instance. This means any team can use this GitHub App to deploy applications from your repositories. For better security and isolation, it's recommended to create team-specific GitHub Apps instead. @endif @endif
@if (blank($github_app->private_key_id)) @endif @foreach ($privateKeys as $privateKey) @endforeach

Permissions

@can('view', $github_app) Refetch Update @endcan
{{-- --}}
@endif
@if (data_get($github_app, 'installation_id'))

Resources

Here you can find all resources that are using this source.
@if ($applications->isEmpty())
No resources are currently using this GitHub App.
@else
@foreach ($applications->sortBy('name',SORT_NATURAL) as $resource) @endforeach
Project Environment Name Type
{{ data_get($resource->project(), 'name') }} {{ data_get($resource, 'environment.name') }} {{ $resource->name }} {{ str($resource->type())->headline() }}
@endif
@endif @else

GitHub App

@can('delete', $github_app) @endcan
@can('create', $github_app)

Manual Installation

If you want to fill the form manually, you can continue below. Only for advanced users. Continue

Automated Installation

You must complete this step before you can use this source!
@endcan
@can('create', $github_app) @if (!isCloud() || isDev())
@if ($ipv4) @endif @if ($ipv6) @endif @if ($fqdn) @endif @if (config('app.url')) @endif Register Now
@else

Register a GitHub App

Register Now
You need to register a GitHub App before using this source.
@endif
{{-- --}}
@else You don't have permission to create new GitHub Apps. Please contact your team administrator. @endcan
@endif