diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000000..107f94627cb13 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,88 @@ +module:cluster: +- sklearn/cluster/**/* + +module:common: +- sklearn/common/**/* + +module:compose: +- sklearn/compose/**/* + +module:covariance: +- sklearn/covariance/**/* + +module:cross_decomposition: +- sklearn/cross_decomposition/**/* + +module:datasets: +- sklearn/datasets/**/* + +module:decomposition: +- sklearn/decomposition/**/* + +module:ensemble: +- sklearn/ensemble/**/* + +module:feature_extraction: +- sklearn/feature_extraction/**/* + +module:feature_selection: +- sklearn/feature_selection/**/* + +module:gaussian_process: +- sklearn/gaussian_process/**/* + +module:impute: +- sklearn/impute/**/* + +module:inspection: +- sklearn/inspection/**/* + +module:linear_model: +- sklearn/linear_model/**/* + +module:manifold: +- sklearn/manifold/**/* + +module:metrics: +- sklearn/metrics/**/* + +module:mixture: +- sklearn/mixture/**/* + +module:model_selection: +- sklearn/model_selection/**/* + +module:naive_bayes: +- sklearn/naive_bayes.py + +module:neighbors: +- sklearn/neighbors/**/* + +module:neural_network: +- sklearn/neural_network/**/* + +module:pipeline: +- sklearn/pipeline.py + +module:preprocessing: +- sklearn/preprocessing/**/* + +module:semi_supervised: +- sklearn/semi_supervised/**/* + +module:svm: +- sklearn/svm/**/* + +module:tree: +- sklearn/tree/**/* + +module:utils: +- sklearn/utils/**/* + +Build / CI: +- build_tools/**/* +- .github/**/* +- maint_tools/**/* +- azure-pipelines.yml +- .travis.yml +- pyproject.toml diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000000..65ea75b1e7ad5 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: +- pull_request + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: thomasjpfan/labeler@master + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + max-labels: '3'