diff --git a/.github/labeler.yml b/.github/labeler.yml index 3256f0dc9..553d4f055 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,28 +1,51 @@ 'Area: API': - - src/Radarr.Api.V3/**/* + - changed-files: + - any-glob-to-any-file: + - src/Radarr.Api.V3/**/* '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 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 0e34da21e..1f4d56f94 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@v4 + - uses: dessant/lock-threads@v5 with: github-token: ${{ github.token }} issue-inactive-days: '90'