Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(github): restore the Test connection button on GitHub sources

Andras Bacsai8dee2f4cb52b
diff --git a/resources/views/livewire/source/github/change.blade.php b/resources/views/livewire/source/github/change.blade.php
index fe8e1eb01a..c2548d5401 100644
--- a/resources/views/livewire/source/github/change.blade.php
+++ b/resources/views/livewire/source/github/change.blade.php
@@ -104,6 +104,12 @@
<x-application.settings-section title="General"
description="Connection and authentication settings for this private GitHub source.">
<x-slot:actions>
+ @if ($isConnected)
+ <x-forms.button type="button" canGate="view" :canResource="$github_app"
+ wire:click.prevent="testConnection">
+ Test connection
+ </x-forms.button>
+ @endif
<x-forms.button type="button" wire:click.prevent="updateGithubAppName">
<x-reicon name="refresh" class="size-3.5" />
Sync name