diff --git a/app/controllers/api/vcs.php b/app/controllers/api/vcs.php index 1b0c993e11..0d87c101ad 100644 --- a/app/controllers/api/vcs.php +++ b/app/controllers/api/vcs.php @@ -95,7 +95,7 @@ $createGitDeployments = function (GitHub $github, string $providerInstallationId $latestCommentId = ''; - if (!empty($providerPullRequestId)) { + if (!empty($providerPullRequestId) && $function->getAttribute('providerSilentMode', false) === false) { $latestComment = Authorization::skip(fn () => $dbForConsole->findOne('vcsComments', [ Query::equal('providerRepositoryId', [$providerRepositoryId]), Query::equal('providerPullRequestId', [$providerPullRequestId]),