🌐 AI搜索 & 代理 主页
Skip to content

FIX remainder parameter for column transformer visual block #61970

FIX remainder parameter for column transformer visual block

FIX remainder parameter for column transformer visual block #61970

Workflow file for this run

name: Check Changelog
permissions:
contents: read
# This check makes sure that the changelog is properly updated
# when a PR introduces a change in a test file.
# To bypass this check, label the PR with "No Changelog Needed".
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
jobs:
check:
name: A reviewer will let you know if it is required or can be bypassed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: '0'
- name: Check if tests have changed
id: tests_changed
run: |
set -xe
changed_files=$(git diff --name-only origin/main)
# Changelog should be updated only if tests have been modified
if [[ "$changed_files" =~ sklearn\/.+test_.+\.py ]]
then
echo "check_changelog=true" >> $GITHUB_OUTPUT
fi
- name: Check changelog entry
if: steps.tests_changed.outputs.check_changelog == 'true'
uses: scientific-python/action-towncrier-changelog@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BOT_USERNAME: changelog-bot
- name: Link to changelog instructions
if: failure()
run: |
cat << EOF
- if your PR is likely to affect users, you will need to add a changelog entry describing your PR changes
- otherwise you don't need to do anything, a maintainer will set the relevant label to make this CI build pass
See instructions on how to write a changelog entry:
https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md
EOF
exit 1