From 4017a2a1972e71e92b995e7f51af610756b1d8ed Mon Sep 17 00:00:00 2001 From: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Date: Mon, 19 Oct 2020 11:31:12 -0700 Subject: [PATCH] Enable the link check for link verification step. (#1019) This is the final step of link verification epic. Enable the link guidance check for all Ci pipelines. The PR is pending for all lang PRs: java: https://github.com/Azure/azure-sdk-for-java/pull/15285 net: https://github.com/Azure/azure-sdk-for-net/pull/15223 python: https://github.com/Azure/azure-sdk-for-python/pull/13846 js: https://github.com/Azure/azure-sdk-for-js/pull/11317 ios: https://github.com/Azure/azure-sdk-for-ios/pull/433 android: https://github.com/Azure/azure-sdk-for-android/pull/348 go: https://github.com/Azure/azure-sdk-for-go/pull/12541 cpp: https://github.com/Azure/azure-sdk-for-cpp/pull/632 c: https://github.com/Azure/azure-sdk-for-c/pull/1296 --- eng/common/pipelines/templates/steps/verify-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/verify-links.yml b/eng/common/pipelines/templates/steps/verify-links.yml index eaa2dd1426d0..b23a266ccae5 100644 --- a/eng/common/pipelines/templates/steps/verify-links.yml +++ b/eng/common/pipelines/templates/steps/verify-links.yml @@ -4,7 +4,7 @@ parameters: WorkingDirectory: '$(System.DefaultWorkingDirectory)' ScriptDirectory: 'eng/common/scripts' Recursive: $false - CheckLinkGuidance: $false + CheckLinkGuidance: $true Urls: '(Get-ChildItem -Path ./ -Recurse -Include *.md)' BranchReplaceRegex: "^(${env:SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI}.*/(?:blob|tree)/)master(/.*)$" BranchReplacementName: "${env:SYSTEM_PULLREQUEST_SOURCECOMMITID}"