[python-package] fix misleading redundant parameter warnings in Booster.refit() #8175
This file contains hidden or 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: Optional checks | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| all-optional-checks-successful: | |
| timeout-minutes: 30 | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 5 | |
| persist-credentials: false | |
| submodules: false | |
| - name: Check valgrind workflow | |
| shell: bash | |
| run: | | |
| # ref: https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#github-context | |
| PR_BRANCH="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" | |
| echo "checking status for branch '${PR_BRANCH}'" | |
| ./.ci/check-workflow-status.sh \ | |
| "${PR_BRANCH}" \ | |
| 'r_valgrind.yml' \ | |
| ${{ github.event.number }} |