@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())
@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.
@forelse ($applications->sortBy('name',SORT_NATURAL) as $resource) @empty @endforelse
Project Environment Name Type
{{ data_get($resource->project(), 'name') }} {{ data_get($resource, 'environment.name') }} {{ $resource->name }} {{ str($resource->type())->headline() }}
@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
Insufficient Permissions
You don't have permission to create new GitHub Apps. Please contact your team administrator.
@endcan
@endif