From cc0acccd451208fd6edcbe1e8d154fb49e4ba101 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Thu, 14 Dec 2023 16:24:32 -0700 Subject: [PATCH] Use PR labeler v5 and common defaults (#1534) --- .github/labeler.yml | 14 +++++++++----- .github/workflows/labeler.yml | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 23d1f52b8c..87ba13d304 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,11 +1,15 @@ skip-changelog: - - any: [ '.github/**/*', '.gitignore', 'Jenkinsfile', '.mvn/**/*', '.sonarcloud.properties' ] +- changed-files: + - any-glob-to-any-file: [ '.gitattributes', '.github/**/*', '.gitignore', 'crowdin.yml', '.mvn/**/*' ] dependencies: - - any: [ 'pom.xml' ] +- changed-files: + - any-glob-to-any-file: [ 'pom.xml' ] documentation: - - any: [ '*.adoc' ] +- changed-files: + - any-glob-to-any-file: [ '*.adoc', '*.md', '*.txt', '**/*.html', '**/*.png', 'LICENSE*' ] -test: - - any: [ ' src/test/**/*' ] +tests: +- changed-files: + - any-glob-to-any-file: [ 'src/test/**/*' ] diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 31e78f82a6..80bba040d0 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -6,6 +6,6 @@ jobs: triage: runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}"