mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
feat(github): add GitHub App connection testing
This commit is contained in:
1 parent
b2fed043c5
commit
aeeb2665cd
5 files changed
+237
-6
No files matched your search
@@ -2,11 +2,18 @@
|
||||
@if (data_get($github_app, 'app_id'))
|
||||
<form wire:submit='submit'>
|
||||
<div class="flex flex-col sm:flex-row sm:items-center gap-2">
|
||||
<h1>GitHub App</h1>
|
||||
<div class="flex items-center gap-2">
|
||||
<h1>GitHub App</h1>
|
||||
@if ($isConnected)
|
||||
<x-status-badge status="Connected" type="success" />
|
||||
@endif
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
@if (data_get($github_app, 'installation_id'))
|
||||
<x-forms.button canGate="update" :canResource="$github_app" type="submit"
|
||||
:disabled="$activeTab !== 'general'">Save</x-forms.button>
|
||||
<x-forms.button canGate="view" :canResource="$github_app"
|
||||
wire:click.prevent="testConnection">Test Connection</x-forms.button>
|
||||
@endif
|
||||
@can('delete', $github_app)
|
||||
@if ($applications->count() > 0)
|
||||
|
||||
Reference in new issue
Block a user