From 35dee4e128bcc6c920ffafa0029c31c26b2d0557 Mon Sep 17 00:00:00 2001
From: David Bauer <mail@david-bauer.net>
Date: Thu, 11 Jan 2024 21:57:07 +0100
Subject: [PATCH] github: update labeler configuration to v5

Configuration file syntax was changed in v5. Change config file
accordingly.

Signed-off-by: David Bauer <mail@david-bauer.net>
---
 .github/labeler.yml | 112 ++++++++++++++++++++++++++++----------------
 1 file changed, 72 insertions(+), 40 deletions(-)

diff --git a/.github/labeler.yml b/.github/labeler.yml
index f5629ac3a..abb0af0c5 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -1,57 +1,89 @@
 ---
 "3. topic: batman-adv":
-  - docs/package/gluon-mesh-batman-adv*
-  - package/gluon-alfred/**
-  - package/gluon-client-bridge/**
-  - package/gluon-mesh-batman-adv/**
-  - package/libbatadv/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - docs/package/gluon-mesh-batman-adv*
+      - package/gluon-alfred/**
+      - package/gluon-client-bridge/**
+      - package/gluon-mesh-batman-adv/**
+      - package/libbatadv/**
 "3. topic: build":
-  - Makefile
-  - scripts/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - Makefile
+      - scripts/**
 "3. topic: config-mode":
-  - docs/dev/web/config-mode.rst
-  - docs/package/gluon-config-mode-*
-  - package/gluon-config-mode-*/**
-  - package/gluon-web*/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - docs/dev/web/config-mode.rst
+      - docs/package/gluon-config-mode-*
+      - package/gluon-config-mode-*/**
+      - package/gluon-web*/**
 "3. topic: continuous integration":
-  - .github/workflows/*
-  - contrib/actions/**
-  - contrib/ci/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - .github/workflows/*
+      - contrib/actions/**
+      - contrib/ci/**
 "3. topic: docs":
-  - docs/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - docs/**
 "3. topic: fastd":
-  - docs/features/fastd*
-  - package/gluon-mesh-vpn-fastd/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - docs/features/fastd*
+      - package/gluon-mesh-vpn-fastd/**
 "3. topic: firewall":
-  - package/**/*-firewall
-  - package/gluon-ebtables-*/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - package/**/*-firewall
+      - package/gluon-ebtables-*/**
 "3. topic: hardware":
-  - package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac
-  - package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
-  - targets/*
+  - changed-files:
+    - any-glob-to-any-file:
+      - package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac
+      - package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
+      - targets/*
 "3. topic: multidomain":
-  - docs/features/multidomain*
-  - docs/multidomain-site-example/**
-  - package/gluon-config-mode-domain-select/**
-  - package/gluon-scheduled-domain-switch/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - docs/features/multidomain*
+      - docs/multidomain-site-example/**
+      - package/gluon-config-mode-domain-select/**
+      - package/gluon-scheduled-domain-switch/**
 "3. topic: olsr":
-  - package/gluon-l3roamd/**
-  - package/gluon-mesh-olsrd/**
-  - package/gluon-mmfd/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - package/gluon-l3roamd/**
+      - package/gluon-mesh-olsrd/**
+      - package/gluon-mmfd/**
 "3. topic: package":
-  - package/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - package/**
 "3. topic: respondd":
-  - package/**/*respondd*
-  - package/gluon-respondd/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - package/**/*respondd*
+      - package/gluon-respondd/**
 "3. topic: status-page":
-  - package/gluon-status-page/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - package/gluon-status-page/**
 "3. topic: tests":
-  - tests/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - tests/**
 "3. topic: wireguard":
-  - package/gluon-mesh-vpn-wireguard/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - package/gluon-mesh-vpn-wireguard/**
 "3. topic: wireless":
-  - package/gluon-mesh-wireless-sae/**
-  - package/gluon-private-wifi/**
-  - package/gluon-web-private-wifi/**
-  - package/gluon-web-wifi-config/**
-  - package/gluon-wireless-encryption-wpa3/**
+  - changed-files:
+    - any-glob-to-any-file:
+      - package/gluon-mesh-wireless-sae/**
+      - package/gluon-private-wifi/**
+      - package/gluon-web-private-wifi/**
+      - package/gluon-web-wifi-config/**
+      - package/gluon-wireless-encryption-wpa3/**
-- 
GitLab