From a5a7bb42082931865bd71f2f8d18f18fa8c065e6 Mon Sep 17 00:00:00 2001 From: Sima Zhu Date: Wed, 14 Oct 2020 09:25:56 -0700 Subject: [PATCH] add origin --- eng/pipelines/templates/jobs/archetype-sdk-client.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index fbe7400ee4ac6..63bd28bc809d9 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -165,7 +165,7 @@ jobs: - template: ../../../common/pipelines/templates/steps/verify-links.yml parameters: Directory: '' - Urls: (git diff $(System.PullRequest.TargetBranch) HEAD --name-only -- *.md) + Urls: (git diff origin/$(System.PullRequest.TargetBranch) HEAD --name-only -- *.md) CheckLinkGuidance: $true - ${{ each artifact in parameters.Artifacts }}: