Skip to content

Commit 0332ebb

Browse files
committed
add labeler to add labels to prs based on areas impacted
1 parent 6a1f7e2 commit 0332ebb

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.github/labeler.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
"ModelExplainability":
2+
- changed-files:
3+
- any-glob-to-any-file: "tests/model_explainability/**"
4+
5+
"ModelRegistry":
6+
- changed-files:
7+
- any-glob-to-any-file: "tests/model_registry/**"
8+
9+
"ModelServing":
10+
- changed-files:
11+
- any-glob-to-any-file: "tests/model_serving/**"
12+
13+
"Workbenches":
14+
- changed-files:
15+
- any-glob-to-any-file: "tests/workbenches/**"
16+
17+
"GitHub":
18+
- changed-files:
19+
- any-glob-to-any-file: ".github/**"
20+
21+
22+
"Documentation":
23+
- changed-files:
24+
- any-glob-to-any-file: "docs/**"
25+
26+
"Utilities":
27+
- changed-files:
28+
- any-glob-to-any-file: "utilities/**"

.github/workflows/labeler.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
labeler:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/labeler@v5

0 commit comments

Comments
 (0)