Skip to content

Commit 1674d80

Browse files
use the pull request head sha for APIView PR runs (#6459)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
1 parent e04e96c commit 1674d80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/common/pipelines/templates/steps/detect-api-changes.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ steps:
1616
filePath: ${{ parameters.RepoRoot }}/eng/common/scripts/Detect-Api-Changes.ps1
1717
arguments: >
1818
-ArtifactPath ${{parameters.ArtifactPath}}
19-
-CommitSha '$(Build.SourceVersion)'
19+
-CommitSha '$(System.PullRequest.SourceCommitId)'
2020
-BuildId $(Build.BuildId)
2121
-PullRequestNumber $(System.PullRequest.PullRequestNumber)
2222
-RepoFullName $(Build.Repository.Name)

0 commit comments

Comments
 (0)