Skip to content

Commit

Permalink
[TypeSpecValidation] Enable -All pipeline in RPSaaSMaster (#30328)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder authored Aug 27, 2024
1 parent db56f00 commit e86ca15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions eng/pipelines/typespec-validation-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ trigger:
branches:
include:
- main
- RPSaaSMaster
- typespec-next

pr:
branches:
include:
- main
- RPSaaSMaster
- typespec-next
paths:
include:
Expand All @@ -17,6 +19,7 @@ pr:
- package.json
- tsconfig.json
- eng
- specification/suppressions.yaml
- specification/common-types

resources:
Expand Down
3 changes: 2 additions & 1 deletion eng/scripts/ChangedFiles-Functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ function Get-ChangedCoreFiles($changedFiles = (Get-ChangedFiles)) {
".prettierrc.json",
"package-lock.json",
"package.json",
"tsconfig.json"
"tsconfig.json",
"specification/suppressions.yaml"
)

$coreFiles = $changedFiles.Where({
Expand Down
2 changes: 1 addition & 1 deletion eng/scripts/Get-TypeSpec-Folders.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else {
$changedFiles = @(Get-ChangedFiles -baseCommitish $BaseCommitish -targetCommitish $TargetCommitish -diffFilter "")
$coreChangedFiles = Get-ChangedCoreFiles $changedFiles

if ($Env:BUILD_REPOSITORY_NAME -eq 'azure/azure-rest-api-specs' -and $coreChangedFiles) {
if ($coreChangedFiles) {
Write-Verbose "Found changes to core eng or root files so checking all specs."
$changedFiles = $checkAllPath
}
Expand Down

0 comments on commit e86ca15

Please sign in to comment.