1# cSpell:ignore Committish 2# cSpell:ignore PULLREQUEST 3# cSpell:ignore TARGETBRANCH 4param ( 5 # The root repo we scanned with. 6 [string] $RootRepo = '$PSScriptRoot/../../..', 7 # The target branch to compare with. 8 [string] $targetBranch = ("origin/${env:SYSTEM_PULLREQUEST_TARGETBRANCH}" -replace "/refs/heads/") 9) 10 11. (Join-Path $PSScriptRoot common.ps1) 12 13return Get-ChangedFiles -TargetCommittish $targetBranch -DiffPath '*.md'