diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d0e2295..24a4d4a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1055,22 +1055,7 @@ jobs: } $modificationAuthor = $modificationAuthor | Sort-Object Key -Unique } else { - $isNonResourceFile = ( - $file -like "*/reports/*" -or - $file -like "*/Assignment Report/*" -or - $file -like "*/Managed Google Play/*" -or - $file -like "*Device Management Settings/settings.json" -or - $file -like "*/Apple Push Notification/*" -or - $file -like "*Device Configurations/mobileconfig/*" -or - $file -like "*.md" -or - $file -like "*.gitkeep" - ) - - if ($isNonResourceFile) { - $nonResourceFileCount++ - } else { - throw "Unable to find resourceId in '$file' file name. Pipeline code modification needed." - } + $nonResourceFileCount++ $modificationAuthor = $null }