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