From 48977de3b832e80878afce938f052983bcdd789d Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 12 May 2023 21:10:16 +0300 Subject: [PATCH] Add Pull Request Labeler Closes #1658 --- .github/labeler.yml | 19 +++++++++++++++++++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..21aacef8c --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,19 @@ +'Area: API': + - src/Prowlarr.Api.V1/**/* + +'Area: Db-migration': + - src/NzbDrone.Core/Datastore/Migration/* + +'Area: Download Clients': + - src/NzbDrone.Core/Download/Clients/**/* + +'Area: Indexer': + - src/NzbDrone.Core/Indexers/**/* + +'Area: Notifications': + - src/NzbDrone.Core/Notifications/**/* + +'Area: UI': + - frontend/**/* + - package.json + - yarn.lock diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..857cfb4a7 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -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