Skip to content

Commit 8fca0e4

Browse files
committed
yml update
1 parent ea3a513 commit 8fca0e4

File tree

3 files changed

+149
-36
lines changed

3 files changed

+149
-36
lines changed

Diff for: .github/labeler.yml

+121-15
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,132 @@
1-
# .github/labeler.yml
2-
3-
# Label PRs touching C++ source files
1+
# Labels for C++ source files
42
cpp:
5-
- 'src/**/*.cpp'
6-
- 'ml_library_include/**/*.h'
7-
- 'ml_library_include/**/*.hpp'
3+
- "src/**/*.cpp"
4+
- "ml_library_include/**/*.hpp"
5+
- "ml_library_include/**/*.h"
6+
7+
# Labels for headers and include files
8+
headers:
9+
- "ml_library_include/**/*.hpp"
10+
- "ml_library_include/**/*.h"
11+
12+
# Labels for Doxygen-specific documentation
13+
doxygen:
14+
- "Doxyfile"
15+
- "docs/**/*.dox"
16+
- "docs/doxygen/**/*"
817

9-
# Label PRs touching documentation
18+
# Labels for general documentation
1019
docs:
11-
- 'docs/**/*'
12-
- '**/*.md'
20+
- "docs/**/*"
21+
- "**/*.md"
22+
- "README.md"
23+
- "LICENSE"
1324

14-
# Label PRs touching tests
25+
# Labels for test files
1526
tests:
16-
- 'tests/**/*'
27+
- "tests/**/*.cpp"
28+
- "tests/**/*.hpp"
29+
- "tests/data/**/*"
1730

18-
# Label PRs touching examples
31+
# Labels for examples
1932
examples:
20-
- 'examples/**/*'
33+
- "examples/**/*.cpp"
2134

22-
# Label PRs touching GitHub workflows
35+
# Labels for build-related files
36+
build:
37+
- "CMakeLists.txt"
38+
- "build/**/*"
39+
40+
# Labels for GitHub workflows
2341
ci:
24-
- '.github/workflows/**/*'
42+
- ".github/workflows/**/*"
43+
44+
# Machine Learning Type Labels
45+
46+
## Association Rule Learning
47+
association-rule-learning:
48+
- "src/association/**/*"
49+
- "ml_library_include/ml/association/**/*"
50+
- "examples/*AprioriExample.cpp"
51+
- "examples/*EclatExample.cpp"
52+
53+
## Clustering
54+
clustering:
55+
- "src/clustering/**/*"
56+
- "ml_library_include/ml/clustering/**/*"
57+
- "examples/*HierarchicalClusteringExample.cpp"
58+
- "examples/*KMeansExample.cpp"
59+
60+
## Neural Networks
61+
neural-networks:
62+
- "src/neural_network/**/*"
63+
- "ml_library_include/ml/neural_network/**/*"
64+
- "examples/*NeuralNetworkExample.cpp"
65+
66+
## Regression
67+
regression:
68+
- "src/regression/**/*"
69+
- "ml_library_include/ml/regression/**/*"
70+
- "examples/*Regression*.cpp"
71+
- "examples/*PolynomialRegressionExample.cpp"
72+
- "examples/*SupportVectorRegressionExample.cpp"
73+
- "examples/*MultilinearRegressionExample.cpp"
74+
75+
## Decision Trees
76+
decision-trees:
77+
- "src/tree/**/*"
78+
- "ml_library_include/ml/tree/**/*"
79+
- "examples/*DecisionTreeExample.cpp"
80+
- "examples/*RandomForestExample.cpp"
81+
82+
# Labels for performance optimization
83+
performance:
84+
- "src/performance/**/*"
85+
- "**/optimization/**/*"
86+
87+
# Labels for dependencies or third-party files
88+
dependencies:
89+
- "third_party/**/*"
90+
- "vendor/**/*"
91+
- "**/external/**/*"
92+
93+
# Labels for style and formatting
94+
style:
95+
- ".clang-format"
96+
- ".editorconfig"
97+
- "src/**/*.cpp"
98+
- "ml_library_include/**/*.hpp"
99+
100+
# Labels for configuration files
101+
config:
102+
- ".clang-format"
103+
- ".editorconfig"
104+
- "CMakeLists.txt"
105+
106+
# Labels for refactoring
107+
refactor:
108+
- "**/refactor/**/*"
109+
110+
# Labels for bug fixes
111+
bug:
112+
- "**/bug/**/*"
113+
- "**/fix/**/*"
114+
115+
# Labels for new features
116+
feature:
117+
- "**/feature/**/*"
118+
- "src/feature/**/*"
119+
120+
# Labels for experimental features
121+
experimental:
122+
- "src/experimental/**/*"
123+
- "tests/experimental/**/*"
25124

125+
# Labels for data files
126+
data:
127+
- "tests/data/**/*"
26128

129+
# Labels for logging-related files
130+
logging:
131+
- "**/logging/**/*"
132+
- "src/logging/**/*"

Diff for: .github/workflows/auto-assign.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto Assign
2+
on:
3+
issues:
4+
types: [opened]
5+
pull_request:
6+
types: [opened]
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
steps:
14+
- name: "Auto-assign issue"
15+
uses: pozil/auto-assign-issue@v1
16+
with:
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
assignees: jideoyelayo1
19+
numOfAssignee: 1

Diff for: .github/workflows/auto-label.yml

+9-21
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,15 @@
1-
# .github/workflows/auto-label.yml
2-
3-
name: Auto-Label PRs and Issues
4-
1+
name: Auto Label
52
on:
6-
issues:
7-
types: [opened]
83
pull_request:
9-
types: [opened]
10-
11-
permissions:
12-
contents: read
13-
issues: write
14-
pull-requests: write
15-
4+
types: [opened, edited]
5+
issues:
6+
types: [opened, edited]
167
jobs:
178
auto-label:
189
runs-on: ubuntu-latest
19-
2010
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 }}
11+
- name: Auto Label Issues and PRs
12+
uses: actions/labeler@v4
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
configuration-path: .github/labeler.yml

0 commit comments

Comments
 (0)