Commit fae45325 by Henry Schreiner

ci: fix labeler

parent 8d8d48c5
needs changelog: needs changelog:
- all: - all:
- '!docs/changelog.rst' - '!docs/changelog.rst'
any: any:
- 'include/pybind11/**/*' - 'include/pybind11/**/*|pybind11/**/*|tools/**/*|CMakeLists.txt'
- 'pybind11/**/*'
- 'tools/**/*'
- 'CMakeLists.txt'
docs: docs:
- any: - any:
- 'docs/basics.rst' - 'docs/**/*.rst'
- 'docs/benchmark.rst' - '!docs/changelog.rst'
- 'docs/classes.rst' - '!docs/upgrade.rst'
- 'docs/compiling.rst'
- 'docs/faq.rst'
- 'docs/index.rst'
- 'docs/installing.rst'
- 'docs/limitations.rst'
- 'docs/reference.rst'
- 'docs/release.rst'
- 'docs/advanced/**/*.rst'
- 'docs/cmake/**/*.rst'
ci: ci:
- any: - '.github/workflows/*.yaml'
- '.github/workflows/*.yaml'
name: PR merged name: Labeler
on: on:
pull_request_target: pull_request_target:
types: [opened, reopened, synchronize, edited, closed]
jobs: jobs:
label-merged: label-merged:
name: Changelog needed name: Changelog needed
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: "!(github.event.action == 'closed' && github.event.pull_request.merged == false)"
steps: steps:
- uses: actions/labeler@main - uses: actions/labeler@main
with: with:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment