Fix VCS after lib upgrade
This commit is contained in:
parent
6abe8a5792
commit
3ed4a65828
|
@ -119,7 +119,7 @@ $createGitDeployments = function (GitHub $github, string $providerInstallationId
|
||||||
if (!empty($providerPullRequestId)) {
|
if (!empty($providerPullRequestId)) {
|
||||||
$latestCommentId = \strval($github->createComment($owner, $repositoryName, $providerPullRequestId, $comment->generateComment()));
|
$latestCommentId = \strval($github->createComment($owner, $repositoryName, $providerPullRequestId, $comment->generateComment()));
|
||||||
} elseif (!empty($providerBranch)) {
|
} elseif (!empty($providerBranch)) {
|
||||||
$gitPullRequest = $github->getBranchPullRequest($owner, $repositoryName, $providerBranch);
|
$gitPullRequest = $github->getPullRequestFromBranch($owner, $repositoryName, $providerBranch);
|
||||||
$providerPullRequestId = \strval($gitPullRequest['number'] ?? '');
|
$providerPullRequestId = \strval($gitPullRequest['number'] ?? '');
|
||||||
if (!empty($providerPullRequestId)) {
|
if (!empty($providerPullRequestId)) {
|
||||||
$latestCommentId = \strval($github->createComment($owner, $repositoryName, $providerPullRequestId, $comment->generateComment()));
|
$latestCommentId = \strval($github->createComment($owner, $repositoryName, $providerPullRequestId, $comment->generateComment()));
|
||||||
|
|
Loading…
Reference in a new issue