From 5de7322d60feb5ba0bb58acf33f04e47a0462f64 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 12 May 2023 21:23:52 +0300 Subject: [PATCH] Add Pull Request Labeler --- .github/labeler.yml | 17 +++++++++++++++++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 29 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..3b42128d4 --- /dev/null +++ b/.github/labeler.yml @@ -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/**/*'] 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