From 4070e8f7d191335d5c979a0ef45fa7f645d4e91c Mon Sep 17 00:00:00 2001 From: Gaxeer <44334376+Gaxeer@users.noreply.github.com> Date: Fri, 12 Jul 2024 16:55:17 +0300 Subject: [PATCH] update labeler syntax to use `v5` (#351) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About The Pull Request Обновляем синтаксис используемый в лейблере до версии 5. Лейблер может быть будет работать :) --- .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/**'