File tree 2 files changed +53
-0
lines changed
2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ # .github/labeler.yml
2
+
3
+ # Label PRs touching C++ source files
4
+ cpp :
5
+ - ' src/**/*.cpp'
6
+ - ' ml_library_include/**/*.h'
7
+ - ' ml_library_include/**/*.hpp'
8
+
9
+ # Label PRs touching documentation
10
+ docs :
11
+ - ' docs/**/*'
12
+ - ' **/*.md'
13
+
14
+ # Label PRs touching tests
15
+ tests :
16
+ - ' tests/**/*'
17
+
18
+ # Label PRs touching examples
19
+ examples :
20
+ - ' examples/**/*'
21
+
22
+ # Label PRs touching GitHub workflows
23
+ ci :
24
+ - ' .github/workflows/**/*'
25
+
26
+
Original file line number Diff line number Diff line change
1
+ # .github/workflows/auto-label.yml
2
+
3
+ name : Auto-Label PRs and Issues
4
+
5
+ on :
6
+ issues :
7
+ types : [opened]
8
+ pull_request :
9
+ types : [opened]
10
+
11
+ permissions :
12
+ contents : read
13
+ issues : write
14
+ pull-requests : write
15
+
16
+ jobs :
17
+ auto-label :
18
+ runs-on : ubuntu-latest
19
+
20
+ steps :
21
+ - name : Checkout code
22
+ uses : actions/checkout@v3
23
+
24
+ - name : Auto-label
25
+ uses : actions/labeler@v3
26
+ with :
27
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments