From 07d564157efe8f75726804dd2c0e254d32a8a8ee Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Fri, 4 Jul 2025 09:45:01 +0200 Subject: [PATCH 1/2] [CI] Update to labeler v5 --- .github/labeler.yml | 126 ++++++++++++++++++++++++---------- .github/workflows/labeler.yml | 2 +- 2 files changed, 89 insertions(+), 39 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 93e2514fc..6c899b341 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,44 +1,94 @@ -'task:all': - - "tasks/**/all" -'task:mpi': - - "tasks/**/mpi" -'task:omp': - - "tasks/**/omp" -'task:seq': - - "tasks/**/seq" -'task:stl': - - "tasks/**/stl" -'task:tbb': - - "tasks/**/tbb" +"task:all": + - changed-files: + - any-glob-to-any-file: + - "tasks/**/all" + +"task:mpi": + - changed-files: + - any-glob-to-any-file: + - "tasks/**/mpi" + +"task:omp": + - changed-files: + - any-glob-to-any-file: + - "tasks/**/omp" + +"task:seq": + - changed-files: + - any-glob-to-any-file: + - "tasks/**/seq" + +"task:stl": + - changed-files: + - any-glob-to-any-file: + - "tasks/**/stl" + +"task:tbb": + - changed-files: + - any-glob-to-any-file: + - "tasks/**/tbb" + task: - - "tasks/**" + - changed-files: + - any-glob-to-any-file: + - "tasks/**" + ci: - - ".github/**" - - "appveyor.yml" -'modules:performance': - - "modules/performance/**" -'modules:runners': - - "modules/runners/**" -'modules:task': - - "modules/task/**" -'modules:util': - - "modules/util/**" -3rdparty: - - "3rdparty/**" + - changed-files: + - any-glob-to-any-file: + - ".github/**" + - "appveyor.yml" + +"modules:performance": + - changed-files: + - any-glob-to-any-file: + - "modules/performance/**" + +"modules:runners": + - changed-files: + - any-glob-to-any-file: + - "modules/runners/**" + +"modules:task": + - changed-files: + - any-glob-to-any-file: + - "modules/task/**" + +"modules:util": + - changed-files: + - any-glob-to-any-file: + - "modules/util/**" + +"3rdparty": + - changed-files: + - any-glob-to-any-file: + - "3rdparty/**" + infrastructure: - - "scripts/**" - - "**/CMakeLists.txt" - - "cmake/**" - - ".clang-format" - - ".clang-tidy" - - ".gitignore" - - ".gitmodules" - - "codecov.yml" - - "setup.cfg" + - changed-files: + - any-glob-to-any-file: + - "scripts/**" + - "**/CMakeLists.txt" + - "cmake/**" + - ".clang-format" + - ".clang-tidy" + - ".gitignore" + - ".gitmodules" + - "codecov.yml" + - "setup.cfg" + python: - - "**/requirements.txt" + - changed-files: + - any-glob-to-any-file: + - "**/requirements.txt" + docs: - - "docs/**" - - "README.md" + - changed-files: + - any-glob-to-any-file: + - "docs/**" + - "README.md" + scoreboard: - - "scoreboard/**" + - changed-files: + - any-glob-to-any-file: + - "scoreboard/**" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 969e11a26..38f4c48c4 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -15,7 +15,7 @@ jobs: with: fetch-depth: 0 - name: Apply labels based on changed files - uses: actions/labeler@v4 + uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: ".github/labeler.yml" From 15b6449875f1e1afbad97862a8f09a6698b993fd Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Fri, 4 Jul 2025 09:56:05 +0200 Subject: [PATCH 2/2] yamllint --- .github/labeler.yml | 88 ++++++++++++++++++++++----------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 6c899b341..03b817c10 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,94 +1,94 @@ "task:all": - changed-files: - - any-glob-to-any-file: - - "tasks/**/all" + - any-glob-to-any-file: + - "tasks/**/all" "task:mpi": - changed-files: - - any-glob-to-any-file: - - "tasks/**/mpi" + - any-glob-to-any-file: + - "tasks/**/mpi" "task:omp": - changed-files: - - any-glob-to-any-file: - - "tasks/**/omp" + - any-glob-to-any-file: + - "tasks/**/omp" "task:seq": - changed-files: - - any-glob-to-any-file: - - "tasks/**/seq" + - any-glob-to-any-file: + - "tasks/**/seq" "task:stl": - changed-files: - - any-glob-to-any-file: - - "tasks/**/stl" + - any-glob-to-any-file: + - "tasks/**/stl" "task:tbb": - changed-files: - - any-glob-to-any-file: - - "tasks/**/tbb" + - any-glob-to-any-file: + - "tasks/**/tbb" task: - changed-files: - - any-glob-to-any-file: - - "tasks/**" + - any-glob-to-any-file: + - "tasks/**" ci: - changed-files: - - any-glob-to-any-file: - - ".github/**" - - "appveyor.yml" + - any-glob-to-any-file: + - ".github/**" + - "appveyor.yml" "modules:performance": - changed-files: - - any-glob-to-any-file: - - "modules/performance/**" + - any-glob-to-any-file: + - "modules/performance/**" "modules:runners": - changed-files: - - any-glob-to-any-file: - - "modules/runners/**" + - any-glob-to-any-file: + - "modules/runners/**" "modules:task": - changed-files: - - any-glob-to-any-file: - - "modules/task/**" + - any-glob-to-any-file: + - "modules/task/**" "modules:util": - changed-files: - - any-glob-to-any-file: - - "modules/util/**" + - any-glob-to-any-file: + - "modules/util/**" "3rdparty": - changed-files: - - any-glob-to-any-file: - - "3rdparty/**" + - any-glob-to-any-file: + - "3rdparty/**" infrastructure: - changed-files: - - any-glob-to-any-file: - - "scripts/**" - - "**/CMakeLists.txt" - - "cmake/**" - - ".clang-format" - - ".clang-tidy" - - ".gitignore" - - ".gitmodules" - - "codecov.yml" - - "setup.cfg" + - any-glob-to-any-file: + - "scripts/**" + - "**/CMakeLists.txt" + - "cmake/**" + - ".clang-format" + - ".clang-tidy" + - ".gitignore" + - ".gitmodules" + - "codecov.yml" + - "setup.cfg" python: - changed-files: - - any-glob-to-any-file: - - "**/requirements.txt" + - any-glob-to-any-file: + - "**/requirements.txt" docs: - changed-files: - - any-glob-to-any-file: - - "docs/**" - - "README.md" + - any-glob-to-any-file: + - "docs/**" + - "README.md" scoreboard: - changed-files: - - any-glob-to-any-file: - - "scoreboard/**" + - any-glob-to-any-file: + - "scoreboard/**"