From a02b78c353417f80a412d51eec824439e9e0dd0f Mon Sep 17 00:00:00 2001 From: Aylong <69762909+AyIong@users.noreply.github.com> Date: Fri, 12 Jul 2024 13:58:17 +0300 Subject: [PATCH] Feat: Labeler (#348) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About The Pull Request Добавлямбус лейблус Closes #347 --- .github/labeler.yml | 37 +++++++++++++++++++++++++++++++++++++ .github/workflows/label.yml | 13 +++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000000..daaffa28fdba8 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,37 @@ +'TGUI': + - 'tgui/**' + +'Звук': + - '**/*.ogg' + +'Спрайты': + - '**/*.dmi' + - '**/*.png' + +'Изменение Карты': + - '**/*.dmm' + +'НЕ МОДУЛЬНО': + - all: ['code/**'] + - branches-ignore: + - 'translate' + +'Частичная модульность': + - all: ['code/**', modular_bandastation/**] + +'Перевод': + branches: + - 'translate' + +'Инструменты': + - '.gihub/workflows/**' + - 'tools/**' + +'Изменение конфига': + - 'config/**' + +'Документация': + - '**/*.md' + +'SQL': + - 'SQL/**' diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000000000..374a6f59dee34 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,13 @@ +name: "Label" + +on: +- pull_request_target + +jobs: + labeler: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true