From 695ab4dffd0fb506d32c3d99b26434c6e70ce217 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 04:59:45 +0000 Subject: [PATCH 01/21] Upd PRs --- .github/LABELER.yml | 82 +++++++++++++++++++++++++++++++++++++ .github/workflows/stale.yml | 5 ++- 2 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 .github/LABELER.yml diff --git a/.github/LABELER.yml b/.github/LABELER.yml new file mode 100644 index 000000000000..6f2f50b20dc6 --- /dev/null +++ b/.github/LABELER.yml @@ -0,0 +1,82 @@ +# Changes to a .dmm or anything in the _map subfolder +'Map Edit': +- changed-files: + - any-glob-to-any-file: + - '**/*.dmm' + +# Any .dmi changes +'Sprites': +- changed-files: + - any-glob-to-any-file: + - '**/*.dmi' + +# Any sounds changes +'Sound': +- changed-files: + - any-glob-to-any-file: + - '**/*.aif' + - '**/*.aiff' + - '**/*.it' + - '**/*.mid' + - '**/*.midi' + - '**/*.mod' + - '**/*.mp3' + - '**/*.ogg' + - '**/*.oxm' + - '**/*.raw' + - '**/*.s3m' + - '**/*.wma' + - '**/*.wav' + - '**/*.xm' + +# Changes to the SQL subfolder +'Database': +- changed-files: + - any-glob-to-any-file: + - 'SQL/**' + +# Changes to the tgui subfolder +'UI': +- changed-files: + - any-glob-to-any-file: + - 'tgui/**' + +# Changes to the config subfolder +'Config Update': +- changed-files: + - any-glob-to-any-file: + - 'config/**/*' + - 'config/example/**/*' + +# Changes to a .dm or anything in the code subfolder +'Code': +- changed-files: + - any-glob-to-any-file: + - '**/*.dm' + +# Changes to the .Github subfolder +'Maintainability Improvements': +- changed-files: + - any-glob-to-any-file: + - '.github/**' + - '.github/**/*' + - '.vscode/**/*' + - 'docs/**/*' + - 'scripts/**/*' + - 'test/**/*' + - 'tools/**/*' + - '.codebeatignore' + - '.codebeatsettings' + - '.editorconfig' + - '.git*' + - 'biome.json' + - 'libmysql.dll' + - 'LICENSE' + - 'README.md' + - 'SpacemanDMM.toml' + +#Translation tools +'Translation/Localization' +- changed-files: + - any-glob-to-any-file: + - '_translation.dm' \ No newline at end of file diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e5530d1be89b..153052907433 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -28,10 +28,11 @@ jobs: days-before-pr-stale: 23 days-before-pr-close: 7 close-issue-message: > - Данное предложение пробыло без активности открытым более полугода. Если вы найдёте того, кто его реализует, + Данное предложение пробыло без активности оюткрытым более полугода. Если вы найдёте того, кто его реализует, и вам нужно открыть данный ишью, пожалуйста, обратитесь к кому-либо из мейнтейнеров. Вы можете призвать их в комментарии слапнув ``@TauCetiStation/maintainers``. - exempt-issue-labels: 'Bug, Task' + exempt-issue-types: 'Bug, Task' + exempt-issue-labels: 'Bug Task' days-before-issue-stale: 200 days-before-issue-close: 1 stale-issue-label: "Stalled Proposal" From 4abdacb8dfbaa002914c90cfdcf91e381b3c2b19 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 05:05:14 +0000 Subject: [PATCH 02/21] conflict-fix --- .github/workflows/merge_conflict.yml | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/merge_conflict.yml diff --git a/.github/workflows/merge_conflict.yml b/.github/workflows/merge_conflict.yml new file mode 100644 index 000000000000..16509c96b76c --- /dev/null +++ b/.github/workflows/merge_conflict.yml @@ -0,0 +1,31 @@ +name: "Pull Request Labeler" + +permissions: + contents: read + +on: + push: + branches: + - main + pull_request_target: + +jobs: + triage: + permissions: + contents: read # may be required due to overwrite/add ambiguity + pull-requests: write # required to apply labels to PRs + runs-on: ubuntu-latest + steps: + - name: Check for conflicting PRs + uses: eps1lon/actions-label-merge-conflict@releases/2.x + with: + dirtyLabel: "Merge Conflict" + repoToken: "${{ secrets.GITHUB_TOKEN }}" + commentOnDirty: "Pull Request содержит конфликты. Устраните их, чтобы мы смогли оценить и принять запрос." + - name: Apply labels based on changed files + if: github.event_name != 'push' + uses: actions/labeler@v5 + with: + repo-token: "${{ secrets.TOKEN || secrets.GITHUB_TOKEN }}" + sync-labels: true + configuration-path: .github/labeler.yml \ No newline at end of file From 7bfc1ea9462c21261675a24c9446b776766c0eaa Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 05:25:16 +0000 Subject: [PATCH 03/21] Bug-issue-upd --- .github/ISSUE_TEMPLATE/bug_report.yml | 12 ++ .github/ISSUE_TEMPLATE/map_report.yml | 34 ----- .github/ISSUE_TEMPLATE/translation_report.yml | 54 -------- .github/workflows/auto_labels_issue.yml | 127 ++++++++++++++++++ 4 files changed, 139 insertions(+), 88 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/map_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/translation_report.yml create mode 100644 .github/workflows/auto_labels_issue.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 5fb986597387..122128c1bed0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -6,6 +6,18 @@ body: attributes: value: "## Пожалуйста, не стирайте строчки, которые были автоматически созданы." + - type: checkboxes + id: feature_scope + attributes: + label: "Категория бага" + description: "К какому типу контента относится проблема?" + options: + - label: "Код 👨‍💻" + - label: "Спрайты 🎨" + - label: "Карты 🗺️" + - label: "Перевод/Описание 🧠" + + - type: textarea id: description validations: diff --git a/.github/ISSUE_TEMPLATE/map_report.yml b/.github/ISSUE_TEMPLATE/map_report.yml deleted file mode 100644 index 85a14dcc0833..000000000000 --- a/.github/ISSUE_TEMPLATE/map_report.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: "Сообщить о проблеме на карте" -title: "[Название карты или локации] " -description: "Если что-то не так с картой" -labels: ["Bug", "Map Issue"] -body: - - type: dropdown - id: location - validations: - required: true - attributes: - label: "В какой локации это произошло?" - description: "Укажите станцию или локацию на которой вы нашли мапперскую ошибку. Если из перечисленных карт нет нужной, выберите 'другое' и укажите ниже о какой карте идёт речь" - options: - - BoxStation - - Gamma - - Delta - - Falcon - - Prometheus - - Stroecka - - Centcomm - - Asteroid - - Prometheus Asteroid - - Forts - - Другое - - - type: textarea - id: description - validations: - required: true - attributes: - label: "Описание" - description: "Опишите обнаруженную вами проблему на одной из локаций" - placeholder: | - На аванпост шахтёров невозможно попасть из-за стены в шлюзах доков diff --git a/.github/ISSUE_TEMPLATE/translation_report.yml b/.github/ISSUE_TEMPLATE/translation_report.yml deleted file mode 100644 index b6d909090ba5..000000000000 --- a/.github/ISSUE_TEMPLATE/translation_report.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: "Сообщить об ошибке в тексте или переводе" -description: "Некорректный текст или перевод на русский язык." -labels: ["Bug", "Translation/Localization"] -body: - - type: markdown - attributes: - value: "## Пожалуйста, не стирайте строчки, которые были автоматически созданы." - - - - type: textarea - id: location - validations: - required: true - attributes: - label: "Где вы нашли ошибку?" - description: "Укажите, где вы нашли ошибку в тексте: (Интерфейс консоли, описание предмета, некорректные комбат логи и т.п.)" - placeholder: | - Интерфейс консоли шаттла - Описание ручного сканера - Некорректный лог от выстрела из тазера - Оповещение импланта о смерти - - - type: textarea - id: description - validations: - required: true - attributes: - label: "Описание" - description: "Опишите обнаруженную ошибку в тексте как можно подробнее" - value: | - #### Как должно было звучать/переведено - AYS установил аккумулятор в электрический щит криогенных камер! - - #### Что произошло на самом деле - AYS установил аккумулятор в электрический щит криогенных камерах! - - - type: textarea - id: reproduction - attributes: - label: "Шаги воспроизведения" - description: "Если приемлемо, опишите шаги для воспроизведения проблемы в тексте" - placeholder: | - 1. Вытащить батарейку из электрического щита - 2. После вставить обратно батарейку - 3. Увидеть некорректный перевод данного лога - - - type: textarea - id: additional - attributes: - label: "Дополнительная информация:" - description: | - Вы можете добавьте скриншоты, чтобы помочь описать вашу проблему - **Подсказка**: Вы можете прикрепить изображения, щелкнув по области ниже для её выделения, - а затем перетащите в неё файлы diff --git a/.github/workflows/auto_labels_issue.yml b/.github/workflows/auto_labels_issue.yml new file mode 100644 index 000000000000..a706aaacded6 --- /dev/null +++ b/.github/workflows/auto_labels_issue.yml @@ -0,0 +1,127 @@ +name: Auto Label Issues + +on: + issues: + types: [opened] + +permissions: + issues: write + +jobs: + process-labels: + runs-on: ubuntu-latest + if: github.event.issue.state == 'open' + + steps: + - name: Parse and add labels based on checkboxes + id: process_issue + uses: actions/github-script@v7 + with: + script: | + const body = context.payload.issue.body; + console.log('Issue body:', body); + + const labelsToAdd = []; + let foundCheckboxesSection = false; + let sectionToRemove = ''; + + const scopeMap = { + 'Код 👨‍💻': 'Code', + 'Спрайты 🎨': 'Sprites', + 'Карты 🗺️': 'Map Issue', + 'Перевод/описание 🧠': 'Translation/Localization' + }; + + if (body) { + if (body.includes('Что потребует изменений?')) { + foundCheckboxesSection = true; + sectionToRemove = 'Что потребует изменений?'; + console.log('Found "Что потребует изменений?" section'); + } else if (body.includes('Категория бага')) { + foundCheckboxesSection = true; + sectionToRemove = 'Категория бага'; + console.log('Found "Категория бага" section'); + } + + if (body.includes('[x]')) { + console.log('Found checked checkboxes in body'); + for (const [checkboxLabel, labelName] of Object.entries(scopeMap)) { + const checkboxRegex = new RegExp('\\[x\\]\\s*' + checkboxLabel.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')); + if (checkboxRegex.test(body)) { + labelsToAdd.push(labelName); + console.log('Found selected:', checkboxLabel, '->', labelName); + } + } + } + } + + const uniqueLabels = [...new Set(labelsToAdd)]; + console.log('Labels to add:', uniqueLabels); + + if (uniqueLabels.length > 0) { + try { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + labels: uniqueLabels + }); + console.log('Labels added successfully'); + } catch (error) { + console.log('Error adding labels:', error); + } + } + + core.setOutput('foundCheckboxesSection', foundCheckboxesSection); + core.setOutput('sectionToRemove', sectionToRemove); + + return { + foundCheckboxesSection: foundCheckboxesSection, + sectionToRemove: sectionToRemove + }; + + - name: Clean up issue body + if: steps.process_issue.outputs.foundCheckboxesSection == 'true' + uses: actions/github-script@v7 + env: + SECTION_TO_REMOVE: ${{ steps.process_issue.outputs.sectionToRemove }} + with: + script: | + const body = context.payload.issue.body; + const sectionToRemove = process.env.SECTION_TO_REMOVE; + + console.log('Section to remove:', sectionToRemove); + console.log('Original body:', body); + + if (!body || !sectionToRemove) { + console.log('No body or section to clean'); + return; + } + + let cleanedBody = body; + + const regex = new RegExp('###?\\s*' + sectionToRemove + '[\\s\\S]*?((?=###)|$)', 'i'); + cleanedBody = cleanedBody.replace(regex, ''); + cleanedBody = cleanedBody.replace(/-\s*\[[x\s]\]\s*.*\n/g, ''); + cleanedBody = cleanedBody.replace(/_No response_/g, '_Отсутствует_'); + cleanedBody = cleanedBody.replace(/\n{3,}/g, '\n\n'); + cleanedBody = cleanedBody.replace(/^###\s*$/gm, ''); + cleanedBody = cleanedBody.trim(); + + console.log('Cleaned body:', cleanedBody); + + if (body !== cleanedBody && cleanedBody.length > 0) { + try { + await github.rest.issues.update({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + body: cleanedBody + }); + console.log('Issue body cleaned successfully'); + } catch (error) { + console.log('Error cleaning issue body:', error); + } + } else { + console.log('No changes to body needed'); + } \ No newline at end of file From 8b778d00d9f58efc00ccef6f00372b6730cfe960 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 05:32:16 +0000 Subject: [PATCH 04/21] =?UTF-8?q?=D0=97=D0=B0=D0=BA=D0=B0=D0=BD=D1=87?= =?UTF-8?q?=D0=B8=D0=B2=D0=B0=D0=B5=D0=BC=20=D1=81=20=D0=BE=D0=B1=D0=BD?= =?UTF-8?q?=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/ISSUE_TEMPLATE/proposal.yml | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 122128c1bed0..72a624d85f45 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,6 +1,6 @@ name: "Сообщить о проблеме" description: "Если что-то работает не так, как ожидалось." -labels: ["Bug"] +type: Bug body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/proposal.yml b/.github/ISSUE_TEMPLATE/proposal.yml index b13af01ec32e..7e600a3bd84c 100644 --- a/.github/ISSUE_TEMPLATE/proposal.yml +++ b/.github/ISSUE_TEMPLATE/proposal.yml @@ -1,8 +1,19 @@ name: "Оставить предложение" title: "[Proposal] " description: "Любые идеи." -labels: ["Proposal"] +type: Feature body: + - type: checkboxes + id: feature_scope + attributes: + label: "Что потребует изменений?" + description: "Выберите тип изменений" + options: + - label: "Код 👨‍💻" + - label: "Спрайты 🎨" + - label: "Карты 🗺️" + - label: "Перевод/Описание 🧠" + - type: textarea id: description validations: From e597c366ace9551908c25b8e35bcb199d9c4b959 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 05:48:23 +0000 Subject: [PATCH 05/21] =?UTF-8?q?=D0=9D=D0=B0=D1=88=D0=B5=D0=BB=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BF=D1=8F=D1=82=D1=83=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 153052907433..276e1195afb7 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -32,7 +32,7 @@ jobs: и вам нужно открыть данный ишью, пожалуйста, обратитесь к кому-либо из мейнтейнеров. Вы можете призвать их в комментарии слапнув ``@TauCetiStation/maintainers``. exempt-issue-types: 'Bug, Task' - exempt-issue-labels: 'Bug Task' + exempt-issue-labels: 'Bug, Task' days-before-issue-stale: 200 days-before-issue-close: 1 stale-issue-label: "Stalled Proposal" From 39ad4b8636652ca19a254c04f5d368f0280c62a9 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 08:50:56 +0300 Subject: [PATCH 06/21] Issue pr upd (#1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Upd PRs * conflict-fix * Bug-issue-upd * Заканчиваем с обновлением * Нашел запятую --- .github/ISSUE_TEMPLATE/bug_report.yml | 14 +- .github/ISSUE_TEMPLATE/map_report.yml | 34 ----- .github/ISSUE_TEMPLATE/proposal.yml | 13 +- .github/ISSUE_TEMPLATE/translation_report.yml | 54 -------- .github/LABELER.yml | 82 +++++++++++ .github/workflows/auto_labels_issue.yml | 127 ++++++++++++++++++ .github/workflows/merge_conflict.yml | 31 +++++ .github/workflows/stale.yml | 3 +- 8 files changed, 267 insertions(+), 91 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/map_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/translation_report.yml create mode 100644 .github/LABELER.yml create mode 100644 .github/workflows/auto_labels_issue.yml create mode 100644 .github/workflows/merge_conflict.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 5fb986597387..72a624d85f45 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,11 +1,23 @@ name: "Сообщить о проблеме" description: "Если что-то работает не так, как ожидалось." -labels: ["Bug"] +type: Bug body: - type: markdown attributes: value: "## Пожалуйста, не стирайте строчки, которые были автоматически созданы." + - type: checkboxes + id: feature_scope + attributes: + label: "Категория бага" + description: "К какому типу контента относится проблема?" + options: + - label: "Код 👨‍💻" + - label: "Спрайты 🎨" + - label: "Карты 🗺️" + - label: "Перевод/Описание 🧠" + + - type: textarea id: description validations: diff --git a/.github/ISSUE_TEMPLATE/map_report.yml b/.github/ISSUE_TEMPLATE/map_report.yml deleted file mode 100644 index 85a14dcc0833..000000000000 --- a/.github/ISSUE_TEMPLATE/map_report.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: "Сообщить о проблеме на карте" -title: "[Название карты или локации] " -description: "Если что-то не так с картой" -labels: ["Bug", "Map Issue"] -body: - - type: dropdown - id: location - validations: - required: true - attributes: - label: "В какой локации это произошло?" - description: "Укажите станцию или локацию на которой вы нашли мапперскую ошибку. Если из перечисленных карт нет нужной, выберите 'другое' и укажите ниже о какой карте идёт речь" - options: - - BoxStation - - Gamma - - Delta - - Falcon - - Prometheus - - Stroecka - - Centcomm - - Asteroid - - Prometheus Asteroid - - Forts - - Другое - - - type: textarea - id: description - validations: - required: true - attributes: - label: "Описание" - description: "Опишите обнаруженную вами проблему на одной из локаций" - placeholder: | - На аванпост шахтёров невозможно попасть из-за стены в шлюзах доков diff --git a/.github/ISSUE_TEMPLATE/proposal.yml b/.github/ISSUE_TEMPLATE/proposal.yml index b13af01ec32e..7e600a3bd84c 100644 --- a/.github/ISSUE_TEMPLATE/proposal.yml +++ b/.github/ISSUE_TEMPLATE/proposal.yml @@ -1,8 +1,19 @@ name: "Оставить предложение" title: "[Proposal] " description: "Любые идеи." -labels: ["Proposal"] +type: Feature body: + - type: checkboxes + id: feature_scope + attributes: + label: "Что потребует изменений?" + description: "Выберите тип изменений" + options: + - label: "Код 👨‍💻" + - label: "Спрайты 🎨" + - label: "Карты 🗺️" + - label: "Перевод/Описание 🧠" + - type: textarea id: description validations: diff --git a/.github/ISSUE_TEMPLATE/translation_report.yml b/.github/ISSUE_TEMPLATE/translation_report.yml deleted file mode 100644 index b6d909090ba5..000000000000 --- a/.github/ISSUE_TEMPLATE/translation_report.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: "Сообщить об ошибке в тексте или переводе" -description: "Некорректный текст или перевод на русский язык." -labels: ["Bug", "Translation/Localization"] -body: - - type: markdown - attributes: - value: "## Пожалуйста, не стирайте строчки, которые были автоматически созданы." - - - - type: textarea - id: location - validations: - required: true - attributes: - label: "Где вы нашли ошибку?" - description: "Укажите, где вы нашли ошибку в тексте: (Интерфейс консоли, описание предмета, некорректные комбат логи и т.п.)" - placeholder: | - Интерфейс консоли шаттла - Описание ручного сканера - Некорректный лог от выстрела из тазера - Оповещение импланта о смерти - - - type: textarea - id: description - validations: - required: true - attributes: - label: "Описание" - description: "Опишите обнаруженную ошибку в тексте как можно подробнее" - value: | - #### Как должно было звучать/переведено - AYS установил аккумулятор в электрический щит криогенных камер! - - #### Что произошло на самом деле - AYS установил аккумулятор в электрический щит криогенных камерах! - - - type: textarea - id: reproduction - attributes: - label: "Шаги воспроизведения" - description: "Если приемлемо, опишите шаги для воспроизведения проблемы в тексте" - placeholder: | - 1. Вытащить батарейку из электрического щита - 2. После вставить обратно батарейку - 3. Увидеть некорректный перевод данного лога - - - type: textarea - id: additional - attributes: - label: "Дополнительная информация:" - description: | - Вы можете добавьте скриншоты, чтобы помочь описать вашу проблему - **Подсказка**: Вы можете прикрепить изображения, щелкнув по области ниже для её выделения, - а затем перетащите в неё файлы diff --git a/.github/LABELER.yml b/.github/LABELER.yml new file mode 100644 index 000000000000..6f2f50b20dc6 --- /dev/null +++ b/.github/LABELER.yml @@ -0,0 +1,82 @@ +# Changes to a .dmm or anything in the _map subfolder +'Map Edit': +- changed-files: + - any-glob-to-any-file: + - '**/*.dmm' + +# Any .dmi changes +'Sprites': +- changed-files: + - any-glob-to-any-file: + - '**/*.dmi' + +# Any sounds changes +'Sound': +- changed-files: + - any-glob-to-any-file: + - '**/*.aif' + - '**/*.aiff' + - '**/*.it' + - '**/*.mid' + - '**/*.midi' + - '**/*.mod' + - '**/*.mp3' + - '**/*.ogg' + - '**/*.oxm' + - '**/*.raw' + - '**/*.s3m' + - '**/*.wma' + - '**/*.wav' + - '**/*.xm' + +# Changes to the SQL subfolder +'Database': +- changed-files: + - any-glob-to-any-file: + - 'SQL/**' + +# Changes to the tgui subfolder +'UI': +- changed-files: + - any-glob-to-any-file: + - 'tgui/**' + +# Changes to the config subfolder +'Config Update': +- changed-files: + - any-glob-to-any-file: + - 'config/**/*' + - 'config/example/**/*' + +# Changes to a .dm or anything in the code subfolder +'Code': +- changed-files: + - any-glob-to-any-file: + - '**/*.dm' + +# Changes to the .Github subfolder +'Maintainability Improvements': +- changed-files: + - any-glob-to-any-file: + - '.github/**' + - '.github/**/*' + - '.vscode/**/*' + - 'docs/**/*' + - 'scripts/**/*' + - 'test/**/*' + - 'tools/**/*' + - '.codebeatignore' + - '.codebeatsettings' + - '.editorconfig' + - '.git*' + - 'biome.json' + - 'libmysql.dll' + - 'LICENSE' + - 'README.md' + - 'SpacemanDMM.toml' + +#Translation tools +'Translation/Localization' +- changed-files: + - any-glob-to-any-file: + - '_translation.dm' \ No newline at end of file diff --git a/.github/workflows/auto_labels_issue.yml b/.github/workflows/auto_labels_issue.yml new file mode 100644 index 000000000000..a706aaacded6 --- /dev/null +++ b/.github/workflows/auto_labels_issue.yml @@ -0,0 +1,127 @@ +name: Auto Label Issues + +on: + issues: + types: [opened] + +permissions: + issues: write + +jobs: + process-labels: + runs-on: ubuntu-latest + if: github.event.issue.state == 'open' + + steps: + - name: Parse and add labels based on checkboxes + id: process_issue + uses: actions/github-script@v7 + with: + script: | + const body = context.payload.issue.body; + console.log('Issue body:', body); + + const labelsToAdd = []; + let foundCheckboxesSection = false; + let sectionToRemove = ''; + + const scopeMap = { + 'Код 👨‍💻': 'Code', + 'Спрайты 🎨': 'Sprites', + 'Карты 🗺️': 'Map Issue', + 'Перевод/описание 🧠': 'Translation/Localization' + }; + + if (body) { + if (body.includes('Что потребует изменений?')) { + foundCheckboxesSection = true; + sectionToRemove = 'Что потребует изменений?'; + console.log('Found "Что потребует изменений?" section'); + } else if (body.includes('Категория бага')) { + foundCheckboxesSection = true; + sectionToRemove = 'Категория бага'; + console.log('Found "Категория бага" section'); + } + + if (body.includes('[x]')) { + console.log('Found checked checkboxes in body'); + for (const [checkboxLabel, labelName] of Object.entries(scopeMap)) { + const checkboxRegex = new RegExp('\\[x\\]\\s*' + checkboxLabel.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')); + if (checkboxRegex.test(body)) { + labelsToAdd.push(labelName); + console.log('Found selected:', checkboxLabel, '->', labelName); + } + } + } + } + + const uniqueLabels = [...new Set(labelsToAdd)]; + console.log('Labels to add:', uniqueLabels); + + if (uniqueLabels.length > 0) { + try { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + labels: uniqueLabels + }); + console.log('Labels added successfully'); + } catch (error) { + console.log('Error adding labels:', error); + } + } + + core.setOutput('foundCheckboxesSection', foundCheckboxesSection); + core.setOutput('sectionToRemove', sectionToRemove); + + return { + foundCheckboxesSection: foundCheckboxesSection, + sectionToRemove: sectionToRemove + }; + + - name: Clean up issue body + if: steps.process_issue.outputs.foundCheckboxesSection == 'true' + uses: actions/github-script@v7 + env: + SECTION_TO_REMOVE: ${{ steps.process_issue.outputs.sectionToRemove }} + with: + script: | + const body = context.payload.issue.body; + const sectionToRemove = process.env.SECTION_TO_REMOVE; + + console.log('Section to remove:', sectionToRemove); + console.log('Original body:', body); + + if (!body || !sectionToRemove) { + console.log('No body or section to clean'); + return; + } + + let cleanedBody = body; + + const regex = new RegExp('###?\\s*' + sectionToRemove + '[\\s\\S]*?((?=###)|$)', 'i'); + cleanedBody = cleanedBody.replace(regex, ''); + cleanedBody = cleanedBody.replace(/-\s*\[[x\s]\]\s*.*\n/g, ''); + cleanedBody = cleanedBody.replace(/_No response_/g, '_Отсутствует_'); + cleanedBody = cleanedBody.replace(/\n{3,}/g, '\n\n'); + cleanedBody = cleanedBody.replace(/^###\s*$/gm, ''); + cleanedBody = cleanedBody.trim(); + + console.log('Cleaned body:', cleanedBody); + + if (body !== cleanedBody && cleanedBody.length > 0) { + try { + await github.rest.issues.update({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + body: cleanedBody + }); + console.log('Issue body cleaned successfully'); + } catch (error) { + console.log('Error cleaning issue body:', error); + } + } else { + console.log('No changes to body needed'); + } \ No newline at end of file diff --git a/.github/workflows/merge_conflict.yml b/.github/workflows/merge_conflict.yml new file mode 100644 index 000000000000..16509c96b76c --- /dev/null +++ b/.github/workflows/merge_conflict.yml @@ -0,0 +1,31 @@ +name: "Pull Request Labeler" + +permissions: + contents: read + +on: + push: + branches: + - main + pull_request_target: + +jobs: + triage: + permissions: + contents: read # may be required due to overwrite/add ambiguity + pull-requests: write # required to apply labels to PRs + runs-on: ubuntu-latest + steps: + - name: Check for conflicting PRs + uses: eps1lon/actions-label-merge-conflict@releases/2.x + with: + dirtyLabel: "Merge Conflict" + repoToken: "${{ secrets.GITHUB_TOKEN }}" + commentOnDirty: "Pull Request содержит конфликты. Устраните их, чтобы мы смогли оценить и принять запрос." + - name: Apply labels based on changed files + if: github.event_name != 'push' + uses: actions/labeler@v5 + with: + repo-token: "${{ secrets.TOKEN || secrets.GITHUB_TOKEN }}" + sync-labels: true + configuration-path: .github/labeler.yml \ No newline at end of file diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e5530d1be89b..276e1195afb7 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -28,9 +28,10 @@ jobs: days-before-pr-stale: 23 days-before-pr-close: 7 close-issue-message: > - Данное предложение пробыло без активности открытым более полугода. Если вы найдёте того, кто его реализует, + Данное предложение пробыло без активности оюткрытым более полугода. Если вы найдёте того, кто его реализует, и вам нужно открыть данный ишью, пожалуйста, обратитесь к кому-либо из мейнтейнеров. Вы можете призвать их в комментарии слапнув ``@TauCetiStation/maintainers``. + exempt-issue-types: 'Bug, Task' exempt-issue-labels: 'Bug, Task' days-before-issue-stale: 200 days-before-issue-close: 1 From 8349b41770fdca845ecd465226891ece89c835cf Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 06:00:28 +0000 Subject: [PATCH 07/21] =?UTF-8?q?=D1=87=D0=B8=D0=BD=D0=B8=D0=BC=20?= =?UTF-8?q?=F0=9F=A7=A0=20(=D0=B7=D0=BD=D0=B0=D1=87=D0=BE=D0=BA=20localisa?= =?UTF-8?q?tion)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto_labels_issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_labels_issue.yml b/.github/workflows/auto_labels_issue.yml index a706aaacded6..c25d8434f871 100644 --- a/.github/workflows/auto_labels_issue.yml +++ b/.github/workflows/auto_labels_issue.yml @@ -29,7 +29,7 @@ jobs: 'Код 👨‍💻': 'Code', 'Спрайты 🎨': 'Sprites', 'Карты 🗺️': 'Map Issue', - 'Перевод/описание 🧠': 'Translation/Localization' + 'Перевод/Описание 🧠': 'Translation/Localization' }; if (body) { From 18821be2f6ae8f90ad931810b154aaa8b2f06329 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 09:06:54 +0300 Subject: [PATCH 08/21] Issue pr upd (#3) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Upd PRs * conflict-fix * Bug-issue-upd * Заканчиваем с обновлением * Нашел запятую * чиним 🧠 (значок localisation) --- .github/workflows/auto_labels_issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_labels_issue.yml b/.github/workflows/auto_labels_issue.yml index a706aaacded6..c25d8434f871 100644 --- a/.github/workflows/auto_labels_issue.yml +++ b/.github/workflows/auto_labels_issue.yml @@ -29,7 +29,7 @@ jobs: 'Код 👨‍💻': 'Code', 'Спрайты 🎨': 'Sprites', 'Карты 🗺️': 'Map Issue', - 'Перевод/описание 🧠': 'Translation/Localization' + 'Перевод/Описание 🧠': 'Translation/Localization' }; if (body) { From 415a7babbb9068852572d104d77cacd6fb9852ff Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 06:17:39 +0000 Subject: [PATCH 09/21] fix3 --- .github/workflows/merge_conflict.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge_conflict.yml b/.github/workflows/merge_conflict.yml index 16509c96b76c..9af8617175be 100644 --- a/.github/workflows/merge_conflict.yml +++ b/.github/workflows/merge_conflict.yml @@ -28,4 +28,4 @@ jobs: with: repo-token: "${{ secrets.TOKEN || secrets.GITHUB_TOKEN }}" sync-labels: true - configuration-path: .github/labeler.yml \ No newline at end of file + configuration-path: .github/LABELER.yml \ No newline at end of file From 2741cf5b07b6e4499f3ed41930a649cea1f9a540 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 09:22:03 +0300 Subject: [PATCH 10/21] Issue pr upd (#6) (#7) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Upd PRs * conflict-fix * Bug-issue-upd * Заканчиваем с обновлением * Нашел запятую * чиним 🧠 (значок localisation) * fix3 --- .github/workflows/merge_conflict.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge_conflict.yml b/.github/workflows/merge_conflict.yml index 16509c96b76c..9af8617175be 100644 --- a/.github/workflows/merge_conflict.yml +++ b/.github/workflows/merge_conflict.yml @@ -28,4 +28,4 @@ jobs: with: repo-token: "${{ secrets.TOKEN || secrets.GITHUB_TOKEN }}" sync-labels: true - configuration-path: .github/labeler.yml \ No newline at end of file + configuration-path: .github/LABELER.yml \ No newline at end of file From 0dc404952b3ba71acdb4b0de84ff56e873b75d55 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 09:25:11 +0300 Subject: [PATCH 11/21] Issue pr upd (#6) (#8) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Upd PRs * conflict-fix * Bug-issue-upd * Заканчиваем с обновлением * Нашел запятую * чиним 🧠 (значок localisation) * fix3 From 8ab1b42f830027b2e6d67af748f1e5f27694a2ca Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 06:28:42 +0000 Subject: [PATCH 12/21] =?UTF-8?q?=D0=BD=D0=B0=D1=88=D0=B5=D0=BB=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=82=D0=B5=D1=80=D1=8F=D0=BD=D0=BD=D0=BE=D0=B5:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/LABELER.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/LABELER.yml b/.github/LABELER.yml index 6f2f50b20dc6..95108b79eb4a 100644 --- a/.github/LABELER.yml +++ b/.github/LABELER.yml @@ -76,7 +76,7 @@ - 'SpacemanDMM.toml' #Translation tools -'Translation/Localization' +'Translation/Localization': - changed-files: - any-glob-to-any-file: - '_translation.dm' \ No newline at end of file From 0d9d80c56860c3c18377f98f18c676d15432304f Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 09:32:05 +0300 Subject: [PATCH 13/21] For test (#9) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Issue pr upd (#6) * Upd PRs * conflict-fix * Bug-issue-upd * Заканчиваем с обновлением * Нашел запятую * чиним 🧠 (значок localisation) * fix3 * Fix translation tools section in LABELER.yml --- .github/LABELER.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/LABELER.yml b/.github/LABELER.yml index 6f2f50b20dc6..20877f690918 100644 --- a/.github/LABELER.yml +++ b/.github/LABELER.yml @@ -76,7 +76,7 @@ - 'SpacemanDMM.toml' #Translation tools -'Translation/Localization' +'Translation/Localization': - changed-files: - any-glob-to-any-file: - - '_translation.dm' \ No newline at end of file + - '_translation.dm' From bdc692adf116493d9b3bc1a2deb0e7d9b97972c1 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 06:41:38 +0000 Subject: [PATCH 14/21] =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D1=8F=D0=B5?= =?UTF-8?q?=D0=BC=20=D0=B8=D0=B7=20=D0=B6=D0=B8=D0=B2=D1=88=D0=B8=D0=B9=20?= =?UTF-8?q?=D1=81=D0=B5=D0=B1=D1=8F=20=D0=BA=D0=BE=D0=B4=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=8D=D1=82=D0=BE=D0=B3=D0=BE=20=D0=9F=D0=A0=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/proposal.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/proposal.yml b/.github/ISSUE_TEMPLATE/proposal.yml index 7e600a3bd84c..dbd25900364a 100644 --- a/.github/ISSUE_TEMPLATE/proposal.yml +++ b/.github/ISSUE_TEMPLATE/proposal.yml @@ -1,5 +1,4 @@ name: "Оставить предложение" -title: "[Proposal] " description: "Любые идеи." type: Feature body: From 7abe26ec9765bf253ea6fa2307cdbf4abb820874 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 09:42:48 +0300 Subject: [PATCH 15/21] Update proposal issue template in YAML format --- .github/ISSUE_TEMPLATE/proposal.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/proposal.yml b/.github/ISSUE_TEMPLATE/proposal.yml index 7e600a3bd84c..dbd25900364a 100644 --- a/.github/ISSUE_TEMPLATE/proposal.yml +++ b/.github/ISSUE_TEMPLATE/proposal.yml @@ -1,5 +1,4 @@ name: "Оставить предложение" -title: "[Proposal] " description: "Любые идеи." type: Feature body: From 12682c3e73c5079bedbd74cb79d7fba5e098e594 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Sun, 8 Feb 2026 07:00:35 +0000 Subject: [PATCH 16/21] =?UTF-8?q?=D0=B1=D0=BE=D0=BB=D0=B5=D0=B5=20=D0=BA?= =?UTF-8?q?=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82=D0=BD=D1=8B=D0=B9=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 276e1195afb7..d7a801fe546a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -31,7 +31,7 @@ jobs: Данное предложение пробыло без активности оюткрытым более полугода. Если вы найдёте того, кто его реализует, и вам нужно открыть данный ишью, пожалуйста, обратитесь к кому-либо из мейнтейнеров. Вы можете призвать их в комментарии слапнув ``@TauCetiStation/maintainers``. - exempt-issue-types: 'Bug, Task' + only-issue-types: 'Feature' exempt-issue-labels: 'Bug, Task' days-before-issue-stale: 200 days-before-issue-close: 1 From cca2374760fc93eb77f28ffea00f3dd8f489a8d1 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Mon, 16 Feb 2026 20:45:31 +0300 Subject: [PATCH 17/21] Update .github/workflows/auto_labels_issue.yml Co-authored-by: KIBORG04 --- .github/workflows/auto_labels_issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_labels_issue.yml b/.github/workflows/auto_labels_issue.yml index c25d8434f871..c29990de1ad5 100644 --- a/.github/workflows/auto_labels_issue.yml +++ b/.github/workflows/auto_labels_issue.yml @@ -124,4 +124,4 @@ jobs: } } else { console.log('No changes to body needed'); - } \ No newline at end of file + } From 3f6aeef98d0f714b3353b360527ef7f90bc7d244 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Mon, 16 Feb 2026 21:07:14 +0300 Subject: [PATCH 18/21] Apply suggestions from code review Co-authored-by: KIBORG04 --- .github/LABELER.yml | 1 - .github/workflows/merge_conflict.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/LABELER.yml b/.github/LABELER.yml index 95108b79eb4a..e1c5f6290fc0 100644 --- a/.github/LABELER.yml +++ b/.github/LABELER.yml @@ -46,7 +46,6 @@ - changed-files: - any-glob-to-any-file: - 'config/**/*' - - 'config/example/**/*' # Changes to a .dm or anything in the code subfolder 'Code': diff --git a/.github/workflows/merge_conflict.yml b/.github/workflows/merge_conflict.yml index 9af8617175be..36bdc40456b1 100644 --- a/.github/workflows/merge_conflict.yml +++ b/.github/workflows/merge_conflict.yml @@ -28,4 +28,4 @@ jobs: with: repo-token: "${{ secrets.TOKEN || secrets.GITHUB_TOKEN }}" sync-labels: true - configuration-path: .github/LABELER.yml \ No newline at end of file + configuration-path: .github/LABELER.yml From 5114ed26b85011813eed0ec2964a8f871028eb73 Mon Sep 17 00:00:00 2001 From: Azzy <74739991+AzzyDreemurr13@users.noreply.github.com> Date: Mon, 16 Feb 2026 21:08:06 +0300 Subject: [PATCH 19/21] Update .github/workflows/stale.yml --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index d7a801fe546a..0bb96fc52356 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -28,7 +28,7 @@ jobs: days-before-pr-stale: 23 days-before-pr-close: 7 close-issue-message: > - Данное предложение пробыло без активности оюткрытым более полугода. Если вы найдёте того, кто его реализует, + Данное предложение пробыло без активности открытым более полугода. Если вы найдёте того, кто его реализует, и вам нужно открыть данный ишью, пожалуйста, обратитесь к кому-либо из мейнтейнеров. Вы можете призвать их в комментарии слапнув ``@TauCetiStation/maintainers``. only-issue-types: 'Feature' From 86ed19f4bf2a8b9263e678aa9f232b261ee27f52 Mon Sep 17 00:00:00 2001 From: Azzy Date: Thu, 19 Feb 2026 01:00:34 +0300 Subject: [PATCH 20/21] =?UTF-8?q?=D0=A0=D0=B0=D1=81=D1=88=D0=B8=D1=80?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2=D1=8B=D0=B4=D0=B0=D0=B2=D0=B0?= =?UTF-8?q?=D0=B5=D0=BC=D1=8B=D1=85=20=D0=BB=D0=B5=D0=B9=D0=B1=D0=BE=D0=B2?= =?UTF-8?q?=20=D0=B8=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B1=D0=B0=D0=B3=20=D1=80=D0=B5=D0=BF=D0=BE?= =?UTF-8?q?=D1=80=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Для LABELER - json файлы получают лейб javascript - Папка Tools вынесена с Maintainaility в Tools - Добавил Переводческий вики файл под лейб Translation - html и nano файлы также будут получать UI - В конфиг апдейты добавил примеры из-за гитигнора Bug_report.yml - Вынес Что должно произойти и что произошло в отдельные графы - Добавил инфу про баг репорт в углу на сервере - Добавил обязательный выбор для выбираемого типа ишуя --- .github/ISSUE_TEMPLATE/bug_report.yml | 20 ++++++++++++++++---- .github/LABELER.yml | 19 +++++++++++++++++-- 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 72a624d85f45..bcf5860043ee 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -4,10 +4,12 @@ type: Bug body: - type: markdown attributes: - value: "## Пожалуйста, не стирайте строчки, которые были автоматически созданы." + value: "## В игре есть кнопка «Bug Report» в правом верхнем углу игры, при её нажатии часть информации ниже заполнится автоматически." - type: checkboxes id: feature_scope + validations: + required: true attributes: label: "Категория бага" description: "К какому типу контента относится проблема?" @@ -25,10 +27,20 @@ body: attributes: label: "Описание" description: "Опишите одну проблему как можно подробнее" - value: | - #### Что должно было произойти - #### Что произошло на самом деле + - type: textarea + id: whatmusthappen + validations: + required: true + attributes: + label: "Что должно было произойти" + + - type: textarea + id: whathappenow + validations: + required: true + attributes: + label: "Что произошло на самом деле" - type: textarea id: reproduction diff --git a/.github/LABELER.yml b/.github/LABELER.yml index e1c5f6290fc0..d5e5be2fb436 100644 --- a/.github/LABELER.yml +++ b/.github/LABELER.yml @@ -40,12 +40,15 @@ - changed-files: - any-glob-to-any-file: - 'tgui/**' + - 'html/**' + - 'nano/**' # Changes to the config subfolder 'Config Update': - changed-files: - any-glob-to-any-file: - 'config/**/*' + - 'config/example/**/*' # Changes to a .dm or anything in the code subfolder 'Code': @@ -53,6 +56,12 @@ - any-glob-to-any-file: - '**/*.dm' +# Any .json changes +'javascript': +- changed-files: + - any-glob-to-any-file: + - '**/*.json' + # Changes to the .Github subfolder 'Maintainability Improvements': - changed-files: @@ -63,7 +72,6 @@ - 'docs/**/*' - 'scripts/**/*' - 'test/**/*' - - 'tools/**/*' - '.codebeatignore' - '.codebeatsettings' - '.editorconfig' @@ -74,8 +82,15 @@ - 'README.md' - 'SpacemanDMM.toml' +# Changes to the Tools folder +'Tools': +- changed-files: + - any-glob-to-any-file: + - 'tools/**/*' + #Translation tools 'Translation/Localization': - changed-files: - any-glob-to-any-file: - - '_translation.dm' \ No newline at end of file + - 'code/__DEFINES/_translation.dm' + - '.github/wiki/TRANSLATION.md' From a0761d6b9fc7b0ce0df58d6b51f6962cd7a45f17 Mon Sep 17 00:00:00 2001 From: Azzy Date: Thu, 19 Feb 2026 01:21:28 +0300 Subject: [PATCH 21/21] =?UTF-8?q?=D0=A3=D0=B1=D0=B8=D1=80=D0=B0=D0=B5?= =?UTF-8?q?=D0=BC=20=D0=B1=D0=B5=D1=81=D0=BF=D0=BE=D0=BB=D0=B5=D0=B7=D0=BD?= =?UTF-8?q?=D1=83=D1=8E=20=D0=B2=D0=B0=D0=BB=D0=B8=D0=B4=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Не работает с checkboxes, грустно, но не критично --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index bcf5860043ee..d4b61c76789a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -8,8 +8,6 @@ body: - type: checkboxes id: feature_scope - validations: - required: true attributes: label: "Категория бага" description: "К какому типу контента относится проблема?"