From 86223caec5e102762b6b18b3642d662ff4b702d1 Mon Sep 17 00:00:00 2001 From: Gaxeer <44334376+Gaxeer@users.noreply.github.com> Date: Tue, 16 Jul 2024 14:20:51 +0300 Subject: [PATCH] update labeler by aylong (#381) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About The Pull Request Лейблер от @AyIong , покрывающий больше случаев --- .github/labeler.yml | 55 ++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 20 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index fe140d58e1e74..617432349e99e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,40 +1,55 @@ 'TGUI': - changed-files: - - any-glob-to-any-file: 'tgui/**' + - any-glob-to-any-file: ['tgui/**'] 'Звук': - changed-files: - - any-glob-to-any-file: '**/*.ogg' - -'Спрайты': - - changed-files: - - any-glob-to-any-file: ['**/*.dmi', '**/*.png'] + - any-glob-to-any-file: ['**/*.ogg'] 'Изменение Карты': - - changed-files: - - any-glob-to-any-file: '**/*.dmm' - -'НЕ МОДУЛЬНО': - all: - - changed-files: - - any-glob-to-any-file: 'code/**' - - base-branch: 'master' + - changed-files: + - any-glob-to-any-file: ['**/*.dmm'] -'Перевод': - - base-branch: 'translate' +'Спрайты': + - changed-files: + - any-glob-to-any-file: ['**/*.dmi'] 'Инструменты': - changed-files: - - any-glob-to-any-file: ['.gihub/workflows/**', 'tools/**'] + - any-glob-to-any-file: ['.gihub/workflows/**', 'tools/**'] -'Изменение конфига': +'Требуется изменение конфига': - changed-files: - - any-glob-to-any-file: 'config/**' + - any-glob-to-any-file: ['config/**'] 'Документация': - changed-files: - - any-glob-to-any-file: '**/*.md' + - any-glob-to-any-file: ['**/*.md'] 'SQL': - changed-files: - - any-glob-to-any-file: 'SQL/**' + - any-glob-to-any-file: ['SQL/**'] + +'Частичная модульность': + - all: + - changed-files: + - any-glob-to-any-file: ['code/**'] + - any-glob-to-any-file: [modular_bandastation/**] + - base-branch: 'master' + +'НЕ МОДУЛЬНО': + - all: + - changed-files: + - any-glob-to-any-file: ['code/**', 'icons/**', '_maps/map_files/**'] + - all-globs-to-all-files: '!modular_bandastation/**' + - base-branch: 'master' + +':pencil: Перевод': + - base-branch: 'translate' + +'Фикс': + - head-branch: ['^fix', 'fix'] + +':trollface: Фича': + - head-branch: ['^feat', 'feat']