Pull Requests on Git
Load Pull Requests (open)
@isset($rate_limit_remaining)
Requests remaning till rate limited by Git: {{ $rate_limit_remaining }}
@endisset
@if (count($pull_requests) > 0)
PR Number |
PR Title |
Git |
Actions |
@foreach ($pull_requests as $pull_request)
{{ data_get($pull_request, 'number') }} |
{{ data_get($pull_request, 'title') }} |
Open PR on
Git
|
Deploy
|
@endforeach
@endif
@if ($application->previews->count() > 0)
@foreach ($application->previews as $preview)
PR #{{ data_get($preview, 'pull_request_id') }} |
@if (data_get($preview, 'status') === 'running')
@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
@endforeach
@endif