Python: RandomForest conforms to sklearn Estimator interface #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Branch Naming Policy | |
on: | |
pull_request: | |
types: [opened] | |
jobs: | |
branch_name: | |
runs-on: ubuntu-latest | |
name: Branch Name Policy | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: AlbertHernandez/[email protected] | |
with: | |
branch_pattern: '^[a-z]{2,3}/.*' | |
comment_for_invalid_branch_name: | | |
:no_good: | |
Ups! This branch name is not following the regex `^[a-z]{2,3}/.*` | |
Please delete this PR, rename the branch to `<author_initials>/<common_sense_branch_name>`, and create new PR. | |
fail_if_invalid_branch_name: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |