mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 06:35:12 +00:00
21 lines
559 B
YAML
21 lines
559 B
YAML
name: Labeler
|
|
on:
|
|
pull_request_target:
|
|
types: [closed]
|
|
|
|
jobs:
|
|
label:
|
|
name: Labeler
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- uses: actions/labeler@main
|
|
if: >
|
|
github.event.pull_request.merged == true &&
|
|
!startsWith(github.event.pull_request.title, 'chore(deps):') &&
|
|
!startsWith(github.event.pull_request.title, 'ci(fix):') &&
|
|
!startsWith(github.event.pull_request.title, 'docs(changelog):')
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
configuration-path: .github/labeler_merged.yml
|