Skip to content

Update setuptools requirement from <68.0,>=59.0 to >=59.0,<74.0 #213

Update setuptools requirement from <68.0,>=59.0 to >=59.0,<74.0

Update setuptools requirement from <68.0,>=59.0 to >=59.0,<74.0 #213

Workflow file for this run

# Automatically assign labels to pull requests.
# See https://github.com/github/issue-labeler
name: "Pull request labeler"
on:
pull_request:
types:
- "opened"
- "edited"
jobs:
triage:
# Don't run pr-labeler on branches that were created by Dependabot,
# because this removes the labels set by Dependabot.
# `branches-ignore` cannot be used, because this checks against the
# target branch of the pull request, however we have to check
# against the head branch of the pull request. Solution: if
# statement, taken from
# https://stackoverflow.com/questions/68388484/github-actions-exclude-pull-requests-from-a-branch
if: "startsWith(github.head_ref, 'dependabot/') == false"
permissions:
contents: "read"
pull-requests: "write"
runs-on: "ubuntu-latest"
steps:
- uses: "github/[email protected]"
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: ".github/pr-labeler-config.yml"
# Updating the config file or the pull request template can
# have impact on the labeling of existing pull requests. To
# prevent this, we couple the config file and pull request
# template by a version number.
enable-versioned-regex: 1
versioned-regex: 'issue_labeler_regex_version=(\d+)'
# `body-missing-regex-label` causes the pr-labeler workflow to
# fail with
# "Could not remove label "broken-template" from issue #Number
# Error: AggregateError"
# Therefore, disable it.
#body-missing-regex-label: "broken-template"
# Include the issue title in the regular expression target.
include-title: 1