From 919fc184b77ff170a0ca915905ac17d423439351 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Sun, 9 Nov 2025 20:35:03 +0100 Subject: [PATCH] fix(docker): improve pull request ID check in container status function --- bootstrap/helpers/docker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/helpers/docker.php b/bootstrap/helpers/docker.php index 9da622ed3..c62c2ad8e 100644 --- a/bootstrap/helpers/docker.php +++ b/bootstrap/helpers/docker.php @@ -45,7 +45,7 @@ function getCurrentApplicationContainerStatus(Server $server, int $id, ?int $pul if ($includePullrequests) { return $container; } - if (str($labels)->contains("coolify.pullRequestId=$pullRequestId")) { + if ($pullRequestId !== null && $pullRequestId !== 0 && str($labels)->contains("coolify.pullRequestId={$pullRequestId}")) { return $container; }