From cea85e108f38d5ed29df4d2b778d0da856ed8ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Sl=C3=A1vik?= Date: Thu, 7 Dec 2023 12:53:14 +0100 Subject: [PATCH] infra: Update labeler config to v5 format/structure --- .github/labeler.yml | 13 +++++++++---- .github/labeler.yml.j2 | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 6d70127ec3a..a4515da097e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -10,11 +10,16 @@ # Always apply target fedora version to any changes f41: -- '**' +- any: + - changed-files: + - any-glob-to-any-file: ['**'] documentation: -- 'docs/**' +- any: + - changed-files: + - any-glob-to-any-file: ['docs/**'] infrastructure: -- '.github/**' -- 'dockerfile/**' +- any: + - changed-files: + - any-glob-to-any-file: ['.github/**', 'dockerfile/**'] diff --git a/.github/labeler.yml.j2 b/.github/labeler.yml.j2 index 98f918cc626..f3f4ab63fe0 100644 --- a/.github/labeler.yml.j2 +++ b/.github/labeler.yml.j2 @@ -7,11 +7,16 @@ f{$ rawhide_fedora_version $}: {% else %} f{$ distro_release $}: {% endif %} -- '**' +- any: + - changed-files: + - any-glob-to-any-file: ['**'] documentation: -- 'docs/**' +- any: + - changed-files: + - any-glob-to-any-file: ['docs/**'] infrastructure: -- '.github/**' -- 'dockerfile/**' +- any: + - changed-files: + - any-glob-to-any-file: ['.github/**', 'dockerfile/**']