From 7f0b710893b665211f5293ca49a97393bc6d8bfe Mon Sep 17 00:00:00 2001 From: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Date: Sat, 14 Nov 2020 17:19:05 -0800 Subject: [PATCH] Enable the del/rename files link check. (#17574) --- 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 ef89732b40cdc..88e3cddbf1282 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -165,7 +165,7 @@ jobs: parameters: ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: Directory: '' - Urls: (git diff origin/${env:SYSTEM_PULLREQUEST_TARGETBRANCH} HEAD --name-only -- '*.md') + Urls: (eng/common/scripts/get-markdown-files-from-changed-files.ps1) ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: Directory: sdk/${{ parameters.ServiceDirectory }} CheckLinkGuidance: $true