CI enhancement: Add ini files to exclusions

Close #13217
pull/13218/head
ArkadiuszMichalski 2 years ago committed by Don Ho
parent bb260a15d7
commit cbb1375f65

@ -39,7 +39,7 @@ before_build:
$allowMaster = $true
if ($allowMaster -or $env:APPVEYOR_PULL_REQUEST_NUMBER) {
$folders_onejob = "PowerEditor/(Test|(installer/(filesForTesting|functionList)))/"
$files_nowork = "md|txt|log"
$files_nowork = "md|txt|log|ini"
$files_modified = @(git diff --name-only HEAD~1)
$files_notmached = @($files_modified | Where-Object {$_ -notmatch "\.(xml|$files_nowork)$|$folders_onejob"})
if (($files_modified.length -gt 0 -and $files_notmached.length -eq 0) -or $env:APPVEYOR_REPO_COMMIT_MESSAGE -match "\[force (xml|nowork)\]") {

Loading…
Cancel
Save