coolify/app/Http/Controllers/Webhook
Islam Adel 672a5d0bc5
fix: Handle pullrequest:updated for reliable preview deployments
The repo:push payload lacks the destination branch name, using push.changes.0.new.name instead. While sufficient for updates, this causes failures in preview deployments when a PR receives new commits—Coolify looks for git_branch in the applications table but finds the source branch instead.

By also processing pullrequest:updated, we ensure preview deployments remain in sync. However, this event triggers on various actions (e.g., PR title changes, reviewer updates), causing extra redeploys. Since Coolify doesn’t store commit hashes for preview deployments, handling these extra redeploys is our best workaround for Bitbucket.
2025-02-01 12:24:23 +02:00
..
Bitbucket.php fix: Handle pullrequest:updated for reliable preview deployments 2025-02-01 12:24:23 +02:00
Gitea.php Get rid of many useless blank lines 2024-10-31 17:44:01 +01:00
Github.php feat: update private key nam with new slug as well 2024-12-03 15:27:20 +01:00
Gitlab.php remove ray 2024-11-12 10:23:00 +01:00
Stripe.php fix stripe webhooks 2024-11-22 14:42:10 +01:00