mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
ci: fix labeler
This commit is contained in:
parent
8d8d48c528
commit
fae45325f6
21
.github/labeler.yml
vendored
21
.github/labeler.yml
vendored
@ -2,27 +2,14 @@ needs changelog:
|
||||
- all:
|
||||
- '!docs/changelog.rst'
|
||||
any:
|
||||
- 'include/pybind11/**/*'
|
||||
- 'pybind11/**/*'
|
||||
- 'tools/**/*'
|
||||
- 'CMakeLists.txt'
|
||||
- 'include/pybind11/**/*|pybind11/**/*|tools/**/*|CMakeLists.txt'
|
||||
|
||||
docs:
|
||||
- any:
|
||||
- 'docs/basics.rst'
|
||||
- 'docs/benchmark.rst'
|
||||
- 'docs/classes.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'
|
||||
- 'docs/**/*.rst'
|
||||
- '!docs/changelog.rst'
|
||||
- '!docs/upgrade.rst'
|
||||
|
||||
|
||||
ci:
|
||||
- any:
|
||||
- '.github/workflows/*.yaml'
|
||||
|
4
.github/workflows/labeler.yml
vendored
4
.github/workflows/labeler.yml
vendored
@ -1,13 +1,11 @@
|
||||
name: PR merged
|
||||
name: Labeler
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, reopened, synchronize, edited, closed]
|
||||
|
||||
jobs:
|
||||
label-merged:
|
||||
name: Changelog needed
|
||||
runs-on: ubuntu-latest
|
||||
if: "!(github.event.action == 'closed' && github.event.pull_request.merged == false)"
|
||||
steps:
|
||||
- uses: actions/labeler@main
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user