diff --git a/.github/labeler.yml b/.github/labeler.yml index daaffa28fdba8..c98dbfd513a8a 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,37 +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/**'] - - branches-ignore: - - 'translate' + - all: + - changed-files: + - any-glob-to-any-file: 'code/**' + - base-branch: 'master' 'Частичная модульность': - - all: ['code/**', modular_bandastation/**] + - all: + - chandged-files: + - all-globs-to-any-file: ['code/**', modular_bandastation/**] + - base-branch: 'master' 'Перевод': - branches: - - 'translate' + - 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/**' diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 374a6f59dee34..4ee0d018cf6a4 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -7,7 +7,7 @@ jobs: labeler: runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: true