We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd6cd47 commit a76a8f9Copy full SHA for a76a8f9
1 file changed
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
@@ -1473,7 +1473,8 @@ await AddDependencyFlowEventsAsync(
1473
// We store it the new head branch SHA in Redis (without having to have to query the remote repo)
1474
if (prInfo != null)
1475
{
1476
- prInfo.HeadBranchSha = await _gitClient.GetShaForRefAsync(codeFlowRes.RepoPath, prHeadBranch);
+ var repoPath = isForwardFlow ? _vmrInfo.VmrPath : codeFlowRes.RepoPath;
1477
+ prInfo.HeadBranchSha = await _gitClient.GetShaForRefAsync(repoPath, prHeadBranch);
1478
}
1479
1480
await RegisterSubscriptionUpdateAction(SubscriptionUpdateAction.ApplyingUpdates, update.SubscriptionId);
0 commit comments