diff --git a/.github/labeler.yml b/.github/labeler.yml index 4203e4418..b9c3a4a0b 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,28 +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': +- 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 diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml index a7fc89446..3f5f430b2 100644 --- a/.github/workflows/label-actions.yml +++ b/.github/workflows/label-actions.yml @@ -3,15 +3,21 @@ 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: runs-on: ubuntu-latest steps: - - uses: dessant/label-actions@v3 + - uses: dessant/label-actions@v4 with: - process-only: 'issues' + process-only: 'issues, prs' \ No newline at end of file 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'