Skip to content

Commit 4efc82c

Browse files
lemillermicrosoftdluc
authored andcommitted
Improve labeler rules for kernel label (#724)
### Motivation and Context #710 tried to enable the `kernel` tag but accidentally applied to too many changes. ### Description The best way to resolve this was specify directories under `dotnet` to be considered for `kernel`. lemillermicrosoft#7 lemillermicrosoft#8 lemillermicrosoft#10 lemillermicrosoft#9 This one was missed before.
1 parent 8f89340 commit 4efc82c

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.github/labeler.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,26 @@
1-
# Add 'kernel' label to any change within the 'dotnet/src' that's not 'SemanticKernel' or 'SemanticKernel.Abstractions' directory
1+
# Add 'kernel' label to any change within Connectors, Extensions, Skills, and tests directories
22
kernel:
3-
- any: ["dotnet/src/**/*", "dotnet/src/*"]
4-
- all:
5-
[
6-
"!dotnet/src/SemanticKernel/*",
7-
"!dotnet/src/SemanticKernel/**/*",
8-
"!dotnet/src/SemanticKernel.Abstractions/*",
9-
"!dotnet/src/SemanticKernel.Abstractions/**/*",
10-
]
3+
- "dotnet/src/Connectors/**/*"
4+
- "dotnet/src/Extensions/**/*"
5+
- "dotnet/src/Skills/**/*"
6+
- "dotnet/src/IntegrationTests/**/*"
7+
- "dotnet/src/SemanticKernel.UnitTests/**/*"
118

12-
# Add 'kernel.core' label to any change within the 'SemanticKernel' or 'SemanticKernel.Abstractions' directory
9+
# Add 'kernel.core' label to any change within the 'SemanticKernel', 'SemanticKernel.Abstractions', or 'SemanticKernel.MetaPackage' directories
1310
kernel.core:
14-
- dotnet/src/SemanticKernel/*
1511
- dotnet/src/SemanticKernel/**/*
16-
- dotnet/src/SemanticKernel.Abstractions/*
1712
- dotnet/src/SemanticKernel.Abstractions/**/*
13+
- dotnet/src/SemanticKernel.MetaPackage/**/*
1814

1915
# Add 'python' label to any change within the 'python' directory
2016
python:
21-
- python/*
2217
- python/**/*
2318

2419
# Add 'samples' label to any change within the 'samples' directory
2520
samples:
26-
- samples/*
2721
- samples/**/*
2822

2923
# Add '.NET' label to any change within samples or kernel 'dotnet' directories.
3024
.NET:
31-
- dotnet/src/*
3225
- dotnet/src/**/*
3326
- samples/**/dotnet/**/*
34-
- samples/**/dotnet/*

0 commit comments

Comments
 (0)