Permissions & Events

@if (data_get($github_app, 'installation_id')) @can('view', $github_app) Refetch Update @endcan @endif
@if (!data_get($github_app, 'installation_id'))
Install the GitHub App first to manage permissions and webhook events.
@else

Webhook Events

@if ($webhookEvents)
@foreach ($webhookEvents as $event) {{ $event }} @endforeach
@php $missingEvents = $github_app->missingWebhookEvents(); @endphp @if (!empty($missingEvents))
Missing required events (will be auto-enabled on Refetch): {{ implode(', ', $missingEvents) }}
@endif @else
No webhook event data yet. Click Refetch above to fetch current events.
@endif @endif