MAINT: avoid using np.deprecate #1
Workflow file for this run
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: "Pull Request Labeler" | |
on: | |
pull_request_target: | |
types: [opened] | |
jobs: | |
label_pull_request: | |
# Permissions needed for labelling Pull Requests automatically | |
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
# label based on changed files | |
- uses: actions/labeler@v5 | |
continue-on-error: true | |
if: github.repository == 'scipy/scipy' | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
configuration-path: ".github/label-globs.yml" | |
# label based on PR title | |
- uses: github/[email protected] | |
if: github.repository == 'scipy/scipy' | |
with: | |
configuration-path: .github/labeler.yml | |
include-title: 1 | |
include-body: 0 | |
enable-versioned-regex: 0 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |