From 4aa04320319690d6a1598f1401aecbf811b51654 Mon Sep 17 00:00:00 2001 From: Uruk Date: Sun, 28 Apr 2024 16:25:14 +0200 Subject: [PATCH 1/4] (ci): update action version --- .github/workflows/label-actions.yml | 2 +- .github/workflows/labeler.yml | 2 +- .github/workflows/lock.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml index a7fc89446..a6246a6b3 100644 --- a/.github/workflows/label-actions.yml +++ b/.github/workflows/label-actions.yml @@ -12,6 +12,6 @@ jobs: action: runs-on: ubuntu-latest steps: - - uses: dessant/label-actions@v3 + - uses: dessant/label-actions@v4 with: process-only: 'issues' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 857cfb4a7..ab2292824 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -9,4 +9,4 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index cf38066c5..1d50cb1f1 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -9,7 +9,7 @@ jobs: lock: runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@v4 + - uses: dessant/lock-threads@v5 with: github-token: ${{ github.token }} issue-inactive-days: '90' From 731d70b28e126aefa61cc6b872cc046ba949b6b5 Mon Sep 17 00:00:00 2001 From: Uruk Date: Sun, 28 Apr 2024 16:35:30 +0200 Subject: [PATCH 2/4] (ci): consistency of label-action --- .github/workflows/label-actions.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml index a6246a6b3..3f5f430b2 100644 --- a/.github/workflows/label-actions.yml +++ b/.github/workflows/label-actions.yml @@ -3,10 +3,16 @@ name: 'Label Actions' on: issues: types: [labeled, unlabeled] + pull_request: + types: [labeled, unlabeled] + discussion: + types: [labeled, unlabeled] permissions: contents: read issues: write + pull-requests: write + discussions: write jobs: action: @@ -14,4 +20,4 @@ jobs: steps: - uses: dessant/label-actions@v4 with: - process-only: 'issues' + process-only: 'issues, prs' \ No newline at end of file From 8f63c6cdb59965cec40d90c24a065a14b1d29e1c Mon Sep 17 00:00:00 2001 From: Uruk Date: Sun, 28 Apr 2024 17:46:37 +0200 Subject: [PATCH 3/4] fix(ci): added missing metadata in labeler.yml --- .github/labeler.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index 4203e4418..71f344605 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -10,6 +10,9 @@ 'Area: Import Lists': - src/NzbDrone.Core/ImportLists/**/* +'Area: Metadata': + - src/NzbDrone.Core/Extras/Metadata/* + 'Area: Indexer': - src/NzbDrone.Core/Indexers/**/* From d07ce04516b3a082701d88a7b6410920a2bf282d Mon Sep 17 00:00:00 2001 From: Uruk Date: Tue, 30 Apr 2024 18:40:58 +0200 Subject: [PATCH 4/4] fix: breaking change from labeler v4 to v5 --- .github/labeler.yml | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 71f344605..b9c3a4a0b 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,31 +1,39 @@ 'Area: API': - - src/Lidarr.Api.V1/**/* +- changed-files: + - any-glob-to-any-file: src/Lidarr.Api.V1/**/* 'Area: Db-migration': - - src/NzbDrone.Core/Datastore/Migration/* +- changed-files: + - any-glob-to-any-file: src/NzbDrone.Core/Datastore/Migration/* 'Area: Download Clients': - - src/NzbDrone.Core/Download/Clients/**/* +- changed-files: + - any-glob-to-any-file: src/NzbDrone.Core/Download/Clients/**/* 'Area: Import Lists': - - src/NzbDrone.Core/ImportLists/**/* +- changed-files: + - any-glob-to-any-file: src/NzbDrone.Core/ImportLists/**/* 'Area: Metadata': - - src/NzbDrone.Core/Extras/Metadata/* +- changed-files: + - any-glob-to-any-file: src/NzbDrone.Core/Extras/Metadata/* 'Area: Indexer': - - src/NzbDrone.Core/Indexers/**/* +- changed-files: + - any-glob-to-any-file: src/NzbDrone.Core/Indexers/**/* 'Area: Notifications': - - src/NzbDrone.Core/Notifications/**/* +- changed-files: + - any-glob-to-any-file: src/NzbDrone.Core/Notifications/**/* 'Area: Organizer': - - src/NzbDrone.Core/Organizer/**/* +- changed-files: + - any-glob-to-any-file: src/NzbDrone.Core/Organizer/**/* 'Area: Parser': - - src/NzbDrone.Core/Parser/**/* +- changed-files: + - any-glob-to-any-file: src/NzbDrone.Core/Parser/**/* 'Area: UI': - - frontend/**/* - - package.json - - yarn.lock +- changed-files: + - any-glob-to-any-file: [frontend/**/*, package.json, yarn.lock] \ No newline at end of file