diff --git a/.github/labeler.yml b/.github/labeler.yml index 4cc1242..a46517f 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,39 +1,53 @@ 'area:code': - - '*.sln' - - 'src/**/*' + - changed-files: + - any-glob-to-any-file: + - '*.sln' + - 'src/**/*' 'area:style': - - '**/.editorconfig' - - '**/.globalconfig' - - '**/stylecop.json' - - '**/*.DotSettings' + - changed-files: + - any-glob-to-any-file: + - '**/.editorconfig' + - '**/.globalconfig' + - '**/stylecop.json' + - '**/*.DotSettings' 'area:build': - - '**/*.cake' - - 'build/**/*' + - changed-files: + - any-glob-to-any-file: + - '**/*.cake' + - 'build/**/*' 'area:repo': - - '.github/*.yml' - - '.github/**/*.md' - - CODEOWNERS - - '.github/CODEOWNERS' + - changed-files: + - any-glob-to-any-file: + - '.github/*.yml' + - '.github/**/*.md' + - CODEOWNERS + - '.github/CODEOWNERS' 'area:ci': - - '.github/workflows/**/*' - - 'lgtm.yml' + - changed-files: + - any-glob-to-any-file: + - '.github/workflows/**/*' + - 'lgtm.yml' 'area:deps': - - '**/Directory.Packages.props' - - Directory.Build.props - - Directory.Build.targets - - global.json - - .config/dotnet-tools.json + - changed-files: + - any-glob-to-any-file: + - '**/Directory.Packages.props' + - Directory.Build.props + - Directory.Build.targets + - global.json + - .config/dotnet-tools.json 'area:docs': - - 'docs/**/*' - - '.all-contributorsrc' - - '**/CHANGELOG.md' - - '**/LICENSE' - - '**/NuGet-README.md' - - '**/README.md' - - '**/THIRD-PARTY-NOTICES' + - changed-files: + - any-glob-to-any-file: + - 'docs/**/*' + - '.all-contributorsrc' + - '**/CHANGELOG.md' + - '**/LICENSE' + - '**/NuGet-README.md' + - '**/README.md' + - '**/THIRD-PARTY-NOTICES' diff --git a/.github/workflows/label-pull-requests.yml b/.github/workflows/label-pull-requests.yml index 9de355b..2b4ae6b 100644 --- a/.github/workflows/label-pull-requests.yml +++ b/.github/workflows/label-pull-requests.yml @@ -14,6 +14,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Assign labels to pull request - uses: actions/labeler@v4 + uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true