Add Pull Request Labeler

This commit is contained in:
Bogdan 2023-05-12 21:23:52 +03:00 committed by Mark McDowall
parent 498722b240
commit 5de7322d60
2 changed files with 29 additions and 0 deletions

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

@ -0,0 +1,17 @@
'connection':
- src/NzbDrone.Core/Notifications/**/*
'db-migration':
- src/NzbDrone.Core/Datastore/Migration/*
'download-client':
- src/NzbDrone.Core/Download/Clients/**/*
'indexer':
- src/NzbDrone.Core/Indexers/**/*
'parsing':
- src/NzbDrone.Core/Parser/**/*
'ui-only':
- all: ['frontend/**/*']

12
.github/workflows/labeler.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4