Skip to content

Commit

Permalink
[infra] Fix a couple paths in PR auto-label file change detection (#5751
Browse files Browse the repository at this point in the history
)
  • Loading branch information
CodeBlanch authored Jul 16, 2024
1 parent ccd3759 commit 46e076f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/scripts/add-labels.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ function AddLabelsOnPullRequestsBasedOnFilesChanged {
$rootInfraFiles.Contains($fullFileName) -or
$fileExtension -eq ".props" -or
$fileExtension -eq ".targets" -or
$fileChanged.StartsWith('test\openTelemetry.aotcompatibility'))
$fileChanged.StartsWith('test/openTelemetry.aotcompatibility'))
{
$added = $labelsToAdd.Add("infra")
}

if ($fileChanged.StartsWith('test\benchmarks'))
if ($fileChanged.StartsWith('test/benchmarks'))
{
$added = $labelsToAdd.Add("perf")
}
Expand Down

0 comments on commit 46e076f

Please sign in to comment.