forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4,378 changed files
with
1,461,318 additions
and
566,329 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
contact_links: | ||
- name: Предложение | ||
url: https://discord.station14.ru | ||
about: Свои предложения можете оставлять в соответствующем канале Discord. | ||
- name: Сообщить об уязвимости | ||
url: https://discord.station14.ru | ||
about: Пожалуйста, сообщайте о серьезных эксплойтах и уязвимостях безопасности Morty#7384 (369476049836310528) в Discord. | ||
- name: Предложение или идея | ||
url: https://discord.gg/ss220 | ||
about: Свои предложения или идеи вы можете оставить в соответствующем Discord канале "#ss14-Трекер". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Сообщить о проблеме с игровой картой | ||
description: Если заметили недочёты на игровых картах | ||
title: "[MI] На карте проблема в " | ||
labels: [] | ||
assignees: | ||
- UrPrice | ||
body: | ||
- type: markdown | ||
id: markdown_with_multiline_content | ||
attributes: | ||
value: | | ||
## Приветствую! | ||
Эта страница замещает старый сбор фидбека по игровым картам. Теперь всё происходит гораздо проще, | ||
вы всегда можете оставить свой фидбек на этой странице, использую одну и ту же форму фидбека. | ||
Вам **не нужно искать нужный тред в дискорде**, чтобы сообщить о проблеме, так как теперь достаточно | ||
**выбрать карту из предложенных вариантов**, либо указать, что ваша проблема не по теме карты. | ||
Вы всё также можете прикрепить описание и изображение. | ||
## Начнём! | ||
validations: | ||
required: false | ||
- type: dropdown | ||
id: map | ||
attributes: | ||
label: Выберите игровую карту | ||
description: Из выпадающего списка выберите ту игровую карту, на которой вы столкнулись с проблемой. Если карта вам неизвестна или проблема связана с чем-либо другим, оставьте "Другое". | ||
options: | ||
- Frankenstein | ||
- Axioma | ||
- Donuts | ||
- Eclipse | ||
- Astro | ||
- Другое | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Опишите кратко о том, какую проблему вы обнаружили | ||
placeholder: Например, "На карте Axioma отсутствуют кулеры в юридическом отделе." | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Прикрепите изображение описанной вами проблемы | ||
placeholder: "Сюда его можно просто вставить: Ctrl+V" | ||
validations: | ||
required: false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
51 changes: 51 additions & 0 deletions
51
.github/workflows/labeler-mapping-issues-and-untriaged.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: "Mapping issues" | ||
|
||
on: | ||
issues: | ||
type: [opened] | ||
|
||
jobs: | ||
add-labels-and-assigness: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check option and add label | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
const issueBody = context.payload.issue.body; | ||
const options = { | ||
'Frankenstein': {label: 'MI: Frankenstein', assignee: 'UrPrice' }, | ||
'Axioma': {label: 'MI: Axioma', assignee: 'NightmareStalker'}, | ||
'Donuts': {label: 'MI: Donuts', assignee: 'spo9k'}, | ||
'Eclipse': {label: 'MI: Eclipse', assignee: 'AliceValestray'}, | ||
'Astro': {label: 'MI: Astro', assignee: 'UrPrice'}, | ||
'Другое': {label: 'MI: Other', assignee: 'UrPrice'} | ||
}; | ||
let selectedOption = null; | ||
for (const option in options){ | ||
if (issueBody.includes(option)) { | ||
selectedOption = options[option]; | ||
break; | ||
} | ||
} | ||
if (selectedOption) { | ||
await github.rest.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: context.issue.number, | ||
labels: [selectedOption.label] | ||
}); // added label | ||
await github.rest.issues.addAssignees({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: context.issue.number, | ||
assignees: [selectedOption.assignee] | ||
}); // added assignee | ||
} else { | ||
await github.rest.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: context.issue.number, | ||
labels: ["Status: Needs Labels"] | ||
}); // add "Status: Needs Labels" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.