From 4ed934893580002ffdfeac432c4a8f4d7771b79d Mon Sep 17 00:00:00 2001 From: gaxeer Date: Fri, 12 Jul 2024 16:47:45 +0300 Subject: [PATCH] update labeler syntax to use `v5` --- .github/labeler.yml | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 752ef2e28f61b..c98dbfd513a8a 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,36 +1,46 @@ 'TGUI': - - 'tgui/**' + - changed-files: + - any-glob-to-any-file: 'tgui/**' 'Звук': - - '**/*.ogg' + - changed-files: + - any-glob-to-any-file: '**/*.ogg' 'Спрайты': - - '**/*.dmi' - - '**/*.png' + - changed-files: + - any-glob-to-any-file: ['**/*.dmi', '**/*.png'] 'Изменение Карты': - - '**/*.dmm' + - changed-files: + - any-glob-to-any-file: '**/*.dmm' 'НЕ МОДУЛЬНО': - - all: ['code/**'] - - base-branch: 'master' + - all: + - changed-files: + - any-glob-to-any-file: 'code/**' + - base-branch: 'master' 'Частичная модульность': - - all: ['code/**', modular_bandastation/**] - - base-branch: 'master' + - all: + - chandged-files: + - all-globs-to-any-file: ['code/**', modular_bandastation/**] + - base-branch: 'master' 'Перевод': - base-branch: 'translate' 'Инструменты': - - '.gihub/workflows/**' - - 'tools/**' + - changed-files: + - any-glob-to-any-file: ['.gihub/workflows/**', 'tools/**'] 'Изменение конфига': - - 'config/**' + - changed-files: + - any-glob-to-any-file: 'config/**' 'Документация': - - '**/*.md' + - changed-files: + - any-glob-to-any-file: '**/*.md' 'SQL': - - 'SQL/**' + - changed-files: + - any-glob-to-any-file: 'SQL/**'