docs: known issues (#2565)

* docs: FAQ CMake updates

* docs: limitations

* ci: don't over label

* docs: update CHANGELOG, add a bit more structure

* ci: label PRs with more labels, and sooner

* docs: updates from @rwgk

* docs: address @YannickJadoul's points
This commit is contained in:
Henry Schreiner
2020-10-09 11:19:13 -04:00
committed by GitHub
parent 0c5cc031ee
commit e4e5c49a26
7 changed files with 221 additions and 85 deletions

28
.github/labeler.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
needs changelog:
- all:
- '!docs/changelog.rst'
any:
- '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'
ci:
- any:
- '.github/workflows/*.yaml'

View File

@@ -1,2 +0,0 @@
needs changelog:
- all: ['!docs/changelog.rst']

View File

@@ -1,15 +1,15 @@
name: PR merged
on:
pull_request_target:
types: [closed]
types: [opened, reopened, synchronize, edited, closed]
jobs:
label-merged:
name: Changelog needed
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
if: "!(github.event.action == 'closed' && github.event.pull_request.merged == false)"
steps:
- uses: actions/labeler@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler_merged.yml
sync-labels: true