Pull Requests on Git

Load Pull Requests
@isset($rate_limit_remaining)
Requests remaning till rate limited by Git: {{ $rate_limit_remaining }}
@endisset @if (count($pull_requests) > 0)
@foreach ($pull_requests as $pull_request) @endforeach
PR Number PR Title Git Actions
{{ data_get($pull_request, 'number') }} {{ data_get($pull_request, 'title') }} Open PR on Git Deploy
@endif
@if ($application->previews->count() > 0)

Deployed Previews

@foreach ($application->previews as $preview)
PR #{{ data_get($preview, 'pull_request_id') }} | @if (Str::of(data_get($preview, 'status'))->startsWith('running')) @elseif(Str::of(data_get($preview, 'status'))->startsWith('restarting')) @else @endif @if (data_get($preview, 'status') !== 'exited') | Open Preview @endif | Open PR on Git
@if (data_get($preview, 'status') === 'exited') Deploy @else Redeploy @endif @if (data_get($preview, 'status') !== 'exited') Remove Preview @endif Get Deployment Logs
@endforeach
@endif