fix(git): trigger deployments when watch_paths is empty

This commit is contained in:
peaklabs-dev
2026-01-07 19:15:16 +01:00
parent ccda7db54f
commit 54a834e042
4 changed files with 5 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ class ProcessGithubPullRequestWebhook implements ShouldBeEncrypted, ShouldQueue
// Apply watch path filtering
$is_watch_path_triggered = $application->isWatchPathsTriggered($changed_files);
if (! $is_watch_path_triggered && ! is_null($application->watch_paths)) {
if (! $is_watch_path_triggered && ! blank($application->watch_paths)) {
return;
}