diff --git a/.github/labeler.yml b/.github/labeler.yml index 5b585de45322..204ef6d17005 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,67 +1,77 @@ -Admin: - - any-glob-to-any-file: - - "code/modules/admin/**" - -# Any file within the config subfolder -Config: +# Any changes +🔵 Требуется проверка: - changed-files: - - any-glob-to-any-file: - - "config/**" + - any-glob-to-any-file: + - "**" -Dependencies: -- changed-files: - - any-glob-to-any-file: - - "**/package.json" - - "**/package-lock.json" - - "**/yarn.lock" - -# When the .DME is changed -DME Edit: +# Changes to a .dmm or anything in the _map subfolder +🗺 Мапинг: - changed-files: - any-glob-to-any-file: - - "./*.dme" - - "**/*.dme" - + - "**/*.dmm" + - "_maps/**" + # Any .dmi changes -Sprites: +🎨 Спрайты 🎨: - changed-files: - any-glob-to-any-file: - "**/*.dmi" -# Changes to a .dm or anything in the code subfolder -Code Change: +# Any changes if not in modulare folder +🪓 НЕ МОДУЛЬНО 🪓: - changed-files: - any-glob-to-any-file: - - "**/*.dm" + - "_maps/map_files/**" + - "_maps/shuttles/**" - "code/**" + - "icons/**" + - "sound/**" -# Changes to a .dmm or anything in the _map subfolder -Map Change: -- changed-files: - - any-glob-to-any-file: - - "**/*.dmm" - - "_maps/**" - -# Any changes to .ogg files are marked as sound -Sound: +# Any sounds changes +🔊 Звуки 🔊: - changed-files: - any-glob-to-any-file: - - "**/*.ogg" + - '**/*.aif' + - '**/*.aiff' + - '**/*.it' + - '**/*.mid' + - '**/*.midi' + - '**/*.mod' + - '**/*.mp3' + - '**/*.ogg' + - '**/*.oxm' + - '**/*.raw' + - '**/*.s3m' + - '**/*.wma' + - '**/*.wav' + - '**/*.xm' # Changes to the SQL subfolder -SQL: +📚 SQL 📚: - changed-files: - any-glob-to-any-file: - "SQL/**" # Changes to the tgui subfolder -tgui: +💬 TGUI: - changed-files: - any-glob-to-any-file: - "tgui/**" +# Changes to the config subfolder +🔮 Конфиги 🔮: +- changed-files: + - any-glob-to-any-file: + - 'config/**/*' + +# Changes to a .dm or anything in the code subfolder +🧱 Код 🧱: +- changed-files: + - any-glob-to-any-file: + - "**/*.dm" + # Changes to the .Github subfolder -Github: +🏭 Github 🏭: - changed-files: - any-glob-to-any-file: - ".github/**" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index dc3a206fe385..a1498409bc27 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -3,7 +3,7 @@ name: PR Labeler on: push: branches: - - master + - beta-dev pull_request_target: jobs: @@ -15,7 +15,7 @@ jobs: with: dirtyLabel: "Merge Conflict" repoToken: "${{ secrets.GITHUB_TOKEN }}" - commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request." + commentOnDirty: "Pull Request содержит конфликты. Устраните их, чтобы мы смогли оценить и принять запрос." - name: Apply labels based on changed files if: github.event_name != 'push' uses: actions/labeler@v5