Skip to content

Commit

Permalink
[TypeSpec Validation] Only validate all specs on core PRs to public r…
Browse files Browse the repository at this point in the history
…epo (#25207)

- Fixes #25175
  • Loading branch information
mikeharder authored Aug 8, 2023
1 parent 7848c04 commit ad997e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/scripts/Get-TypeSpec-Folders.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ else {
)
$repoRootFiles = $changedFiles | Where-Object {$_ -in $rootFilesImpactingTypeSpec}

if ($engFiles -or $repoRootFiles) {
if (($Env:BUILD_REPOSITORY_NAME -eq 'azure/azure-rest-api-specs') -and ($engFiles -or $repoRootFiles)) {
$changedFiles = $allChangedFiles
}
else {
Expand Down

0 comments on commit ad997e9

Please sign in to comment.