2020-10-09 20:40:12 +00:00
|
|
|
name: Labeler
|
2020-10-02 20:56:19 +00:00
|
|
|
on:
|
2020-11-03 16:59:29 +00:00
|
|
|
pull_request_target:
|
|
|
|
types: [closed]
|
2020-10-02 20:56:19 +00:00
|
|
|
|
2023-05-15 17:02:25 +00:00
|
|
|
permissions: {}
|
|
|
|
|
2020-10-02 20:56:19 +00:00
|
|
|
jobs:
|
2020-10-13 02:35:23 +00:00
|
|
|
label:
|
|
|
|
name: Labeler
|
2020-10-02 20:56:19 +00:00
|
|
|
runs-on: ubuntu-latest
|
2023-05-15 17:02:25 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pull-requests: write
|
2020-10-02 20:56:19 +00:00
|
|
|
steps:
|
2020-10-13 03:04:16 +00:00
|
|
|
|
2020-10-02 20:56:19 +00:00
|
|
|
- uses: actions/labeler@main
|
2022-10-20 13:39:19 +00:00
|
|
|
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
|