From c1e527cb234a9d9ab3495960ec01d25dd90f7646 Mon Sep 17 00:00:00 2001 From: Alexander Holstrup <117829001+aholstrup1@users.noreply.github.com> Date: Wed, 14 Feb 2024 14:24:08 +0100 Subject: [PATCH] Fix PR Labeler syntax (#582) #### Summary It seems that the labeler syntax has been changed for v5 (See for example: https://github.com/actions/labeler/tree/main?tab=readme-ov-file#basic-examples) Tested here: https://github.com/microsoft/BCApps/actions/runs/7901694404 #### Work Item(s) Fixes [AB#500792](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/500792) --- .github/labeler.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 0715302efc..760db2a9d6 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,15 +1,23 @@ "Build: Automation": -- .github/** -- .azuredevops/** +- changed-files: + - any-glob-to-any-file: ['.github/**', '.azuredevops/**'] "Build: scripts & configs": -- build/** +- changed-files: + - any-glob-to-any-file: ['build/**'] "AL: System Application": -- src/System Application/** +- changed-files: + - any-glob-to-any-file: ['src/System Application/**'] + +"AL: Business Foundation": +- changed-files: + - any-glob-to-any-file: ['src/Business Foundation/**'] "AL: Tools": -- src/Tools/** +- changed-files: + - any-glob-to-any-file: ['src/Tools/**'] "AL: Rulesets": -- src/Rulesets/** +- changed-files: + - any-glob-to-any-file: ['src/Rulesets/**']