pybind11/.github/workflows/labeler.yml

26 lines
639 B
YAML
Raw Normal View History

2020-10-09 20:40:12 +00:00
name: Labeler
on:
2020-11-03 16:59:29 +00:00
pull_request_target:
types: [closed]
permissions: {}
jobs:
2020-10-13 02:35:23 +00:00
label:
name: Labeler
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
2020-10-13 03:04:16 +00:00
- uses: actions/labeler@v4
if: >
github.event.pull_request.merged == true &&
!startsWith(github.event.pull_request.title, 'chore(deps):') &&
2022-10-20 14:37:12 +00:00
!startsWith(github.event.pull_request.title, 'ci(fix):') &&
!startsWith(github.event.pull_request.title, 'docs(changelog):')
2020-10-13 02:35:23 +00:00
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler_merged.yml