Skip to content

Commit

Permalink
[TypeSpec Validation] trigger on only specification/<service-family> (A…
Browse files Browse the repository at this point in the history
…zure#26276)

* test

* fix

* cleanup
  • Loading branch information
ckairen authored Oct 19, 2023
1 parent 1e00aa5 commit 5faae69
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 @@ -28,7 +28,7 @@ else {
$typespecFolders = @()
$skippedTypespecFolders = @()
foreach ($file in $changedFiles) {
if ($file -match 'specification(\/[^\/]*\/)*') {
if ($file -match 'specification(\/[^\/]*\/)+') {
$path = "$repoPath/$($matches[0])"
if (Test-Path $path) {
Write-Verbose "Checking for tspconfig files under $path"
Expand Down

0 comments on commit 5faae69

Please sign in to comment.