* Use common script for git diff changes * remove extra files * suppress spell check * suppress false positive cspelling * Address comments * make changes to cspell * Suppress to right values * More fix Co-authored-by: sima-zhu <sizhu@microsoft.com>
14 lines
432 B
PowerShell
14 lines
432 B
PowerShell
# cSpell:ignore Committish
|
|
# cSpell:ignore PULLREQUEST
|
|
# cSpell:ignore TARGETBRANCH
|
|
param (
|
|
# The root repo we scanned with.
|
|
[string] $RootRepo = '$PSScriptRoot/../../..',
|
|
# The target branch to compare with.
|
|
[string] $targetBranch = ("origin/${env:SYSTEM_PULLREQUEST_TARGETBRANCH}" -replace "/refs/heads/")
|
|
)
|
|
|
|
. (Join-Path $PSScriptRoot common.ps1)
|
|
|
|
return Get-ChangedFiles -TargetCommittish $targetBranch -DiffPath '*.md'
|