Skip to content

Commit 7e70af1

Browse files
use the pull request head sha for APIView PR runs (Azure#40032)
Co-authored-by: Chidozie Ononiwu <[email protected]>
1 parent a893b79 commit 7e70af1

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

Lines changed: 1 addition & 1 deletion
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)