Skip to content

Commit

Permalink
[infra] Sync up add-labels with changes from main repo (#1963)
Browse files Browse the repository at this point in the history
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
  • Loading branch information
CodeBlanch and cijothomas authored Jul 16, 2024
1 parent d4d00a5 commit 6749475
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 6749475

Please sign in to comment.