Merge pull request #7683 from appwrite/fix-vcs-silent-mode

Fix vcs silent mode
This commit is contained in:
Christy Jacob
2024-03-20 02:57:10 +05:30
committed by GitHub
+1 -1
View File
@@ -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]),