From 9a9ca7cae7670bb3f6bcb35e55bc5e4f1cb7dd57 Mon Sep 17 00:00:00 2001 From: Andrew Hsu Date: Tue, 11 Jun 2024 10:54:07 -0500 Subject: [PATCH] gha/labeler: fix format of yml file for v5 The v5 of labeler has breaking change that needs update to the configuration file: https://github.com/actions/labeler/tree/v5.0.0?tab=readme-ov-file#breaking-changes-in-v5 This fixes it and retains existing behavior. Just syntax differences. (cherry picked from commit d2e7e8648f62d7d0a06b526a8f7055bac50e9236) Conflicts: .github/labeler.yml resolved conflict by only transforming what was already in v23.2.x branch --- .github/labeler.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 06667f84238ef..98f67504eff71 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,18 +1,23 @@ area/k8s: -- src/go/k8s/**/* +- changed-files: + - any-glob-to-any-file: ['src/go/k8s/**/*'] area/build: -- cmake/**/* -- .github/**/* +- changed-files: + - any-glob-to-any-file: ['cmake/**/*', '.github/**/*'] area/docs: -- docs/**/* +- changed-files: + - any-glob-to-any-file: ['docs/**/*'] area/rpk: -- src/go/rpk/**/* +- changed-files: + - any-glob-to-any-file: ['src/go/rpk/**/*'] area/redpanda: -- src/v/**/* +- changed-files: + - any-glob-to-any-file: ['src/v/**/*'] area/wasm: -- src/js/**/* +- changed-files: + - any-glob-to-any-file: ['src/js/**/*']