mirror of
https://github.com/thelsing/knx.git
synced 2024-12-23 19:09:41 +01:00
26 lines
639 B
YAML
26 lines
639 B
YAML
name: Labeler
|
|
on:
|
|
pull_request_target:
|
|
types: [closed]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
label:
|
|
name: Labeler
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
steps:
|
|
|
|
- uses: actions/labeler@v5
|
|
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
|