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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
show webhook details
Andras Bacsai5367bd6134a2
diff --git a/apps/api/src/routes/webhooks/github/handlers.ts b/apps/api/src/routes/webhooks/github/handlers.tsindex 5124be0efb..8e8974553b 100644--- a/apps/api/src/routes/webhooks/github/handlers.ts+++ b/apps/api/src/routes/webhooks/github/handlers.ts@@ -148,6 +148,7 @@ export async function gitHubEvents(request: FastifyRequest<GitHubEvents>): Promiconst pullmergeRequestId = body.number.toString();const pullmergeRequestAction = body.action;const sourceBranch = body.pull_request.head.ref.includes('/') ? body.pull_request.head.ref.split('/')[2] : body.pull_request.head.ref;+ console.log({sourceBranch, sourceRepository: body.pull_request.head.repo.full_name})if (!allowedActions.includes(pullmergeRequestAction)) {throw { status: 500, message: 'Action not allowed.' }}