Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MNT Adds autolabler for modules #16520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: thomasjpfan/labeler@master
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question, does this have to be on your user?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a comment above

I forked the labeler repo and added a max-labels feature

It's probably safer than running third party code from master (or a tag which can be force pushed) anyway.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just don't know what this thing does really, trying to understand :D

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to update this PR with my v2.2.0 tag.

with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
max-labels: '3'