File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1717 - package.json
1818 - tsconfig.json
1919 - eng
20+ - specification/common-types
2021
2122jobs :
2223- job : Validate_All_Specs
Original file line number Diff line number Diff line change 3131
3232 $engFiles = $changedFiles | Where-Object {if ($_ ) { $_.StartsWith (' eng' ) }}
3333
34+ $commonTypesFiles = $changedFiles | Where-Object {if ($_ ) { $_.StartsWith (' specification/common-types' ) }}
35+
3436 $rootFilesImpactingTypeSpec = @ (
3537 " .gitattributes" ,
3638 " .prettierrc.json" ,
4042 )
4143 $repoRootFiles = $changedFiles | Where-Object {$_ -in $rootFilesImpactingTypeSpec }
4244
43- if (($Env: BUILD_REPOSITORY_NAME -eq ' azure/azure-rest-api-specs' ) -and ($engFiles -or $repoRootFiles )) {
45+ if (($Env: BUILD_REPOSITORY_NAME -eq ' azure/azure-rest-api-specs' ) -and ($engFiles -or $commonTypesFiles -or $ repoRootFiles )) {
4446 $changedFiles = $allChangedFiles
4547 }
4648 else {
You can’t perform that action at this time.
0 commit comments