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: gh webhook response 200 to installation_repositories

Andras Bacsaif1da735c407b
diff --git a/routes/webhooks.php b/routes/webhooks.php
index fc5d0d5925..809cffe869 100644
--- a/routes/webhooks.php
+++ b/routes/webhooks.php
@@ -74,7 +74,7 @@ Route::post('/source/github/events', function () {
// Just pong
return response('pong');
}
- if ($x_github_event === 'installation') {
+ if ($x_github_event === 'installation' || $x_github_event === 'installation_repositories') {
// Installation handled by setup redirect url. Repositories queried on-demand.
return response('cool');
}