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 17
17
- package.json
18
18
- tsconfig.json
19
19
- eng
20
+ - specification/common-types
20
21
21
22
jobs :
22
23
- job : Validate_All_Specs
Original file line number Diff line number Diff line change 31
31
32
32
$engFiles = $changedFiles | Where-Object {if ($_ ) { $_.StartsWith (' eng' ) }}
33
33
34
+ $commonTypesFiles = $changedFiles | Where-Object {if ($_ ) { $_.StartsWith (' specification/common-types' ) }}
35
+
34
36
$rootFilesImpactingTypeSpec = @ (
35
37
" .gitattributes" ,
36
38
" .prettierrc.json" ,
40
42
)
41
43
$repoRootFiles = $changedFiles | Where-Object {$_ -in $rootFilesImpactingTypeSpec }
42
44
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 )) {
44
46
$changedFiles = $allChangedFiles
45
47
}
46
48
else {
You can’t perform that action at this time.
0 commit comments