Skip to content

Commit e1d500d

Browse files
authored
add labeler to add labels to prs based on areas impacted (#248)
1 parent a6c3abd commit e1d500d

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.github/labeler.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
"Documentation":
22+
- changed-files:
23+
- any-glob-to-any-file: "docs/**"
24+
25+
"Utilities":
26+
- changed-files:
27+
- 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)