feat(github-runners): link to the GitHub App from not-ready callouts

This commit is contained in:
Andras Bacsai
2026-10-11 17:26:10 +02:00
parent e58e490061
commit ebfa747e77
2 changed files with 22 additions and 0 deletions
@@ -107,6 +107,19 @@
<li>{{ $requirement }}</li>
@endforeach
</ul>
@can('view', $this->selectedApp)
<div class="mt-2 flex flex-wrap gap-2">
<a href="{{ getPermissionsPath($this->selectedApp) }}" class="button"
target="_blank" rel="noopener noreferrer">
Update on GitHub
<x-external-link />
</a>
<a href="{{ route('source.github.permissions', ['github_app_uuid' => $this->selectedApp->uuid]) }}"
class="button" {{ wireNavigate() }}>
Open App permissions
</a>
</div>
@endcan
</x-callout>
@endif
@@ -49,6 +49,15 @@
<li>{{ $requirement }}</li>
@endforeach
</ul>
@can('view', $github_app)
<div class="mt-2">
<a href="{{ getPermissionsPath($github_app) }}" class="button" target="_blank"
rel="noopener noreferrer">
Update on GitHub
<x-external-link />
</a>
</div>
@endcan
</x-callout>
@endif
</x-application.settings-section>