Skip to content

Commit

Permalink
Merge branch 'refs/heads/master' into radial-pets
Browse files Browse the repository at this point in the history
# Conflicts:
#	Resources/Locale/ru-RU/_strings/_sunrise/preferences/loadout-groups.ftl
#	Resources/Prototypes/_Sunrise/Loadouts/loadout_groups.yml
#	Resources/Prototypes/_Sunrise/Loadouts/role_loadouts.yml
#	Resources/Prototypes/ai_factions.yml
  • Loading branch information
VigersRay committed Jan 11, 2025
2 parents d0aacf9 + ba5d72e commit acc100a
Show file tree
Hide file tree
Showing 4,108 changed files with 1,186,925 additions and 842,480 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
37 changes: 9 additions & 28 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,57 +2,38 @@

# Sorting by path instead of by who added it one day :(
# this isn't how codeowners rules work pls read the first comment instead of trying to force a sorting order
/Resources/ConfigPresets/WizardsDen/ @Chief-Engineer

# Moony's Gargantuan List Of Things She Cares About, or MGLOTSCA for short.
# You need to add your name to these entries, not make a new one, if you care about them.
/Content.*/Toolshed/ @moonheart08
**/Toolshed/** @moonheart08
*Command.cs @moonheart08
/Content.*/Administration/ @moonheart08 @DrSmugleaf @Chief-Engineer
/Content.*/Station/ @moonheart08
/Content.*/Maps/ @moonheart08
/Content.*/GameTicking/ @moonheart08 @EmoGarbage404
/Resources/ServerInfo/ @moonheart08 @Chief-Engineer
/Resources/ServerInfo/Guidebook/ @moonheart08 @EmoGarbage404
/Resources/ServerInfo/Guidebook/ServerRules/ @Chief-Engineer
/Resources/engineCommandPerms.yml @moonheart08 @Chief-Engineer
/Resources/clientCommandPerms.yml @moonheart08 @Chief-Engineer
/Resources/ConfigPresets/WizardsDen/ @nikthechampiongr @crazybrain23
/Content.*/Administration/ @DrSmugleaf @nikthechampiongr @crazybrain23
/Resources/ServerInfo/ @nikthechampiongr @crazybrain23
/Resources/ServerInfo/Guidebook/ServerRules/ @nikthechampiongr @crazybrain23

/Resources/Prototypes/Maps/** @Emisse

/Resources/Prototypes/Body/ @DrSmugleaf # suffering
/Resources/Prototypes/Entities/Mobs/Player/ @DrSmugleaf
/Resources/Prototypes/Entities/Mobs/Species/ @DrSmugleaf
/Resources/Prototypes/Guidebook/rules.yml @Chief-Engineer
/Resources/Prototypes/Guidebook/rules.yml @nikthechampiongr @crazybrain23
/Content.*/Body/ @DrSmugleaf
/Content.YAMLLinter @DrSmugleaf
/Content.Shared/Damage/ @DrSmugleaf

/Content.*/Anomaly/ @EmoGarbage404 @TheShuEd
/Content.*/Lathe/ @EmoGarbage404
/Content.*/Materials/ @EmoGarbage404
/Content.*/Mech/ @EmoGarbage404
/Content.*/Research/ @EmoGarbage404
/Content.*/Stack/ @EmoGarbage404
/Content.*/Xenoarchaeology/ @EmoGarbage404
/Content.*/Zombies/ @EmoGarbage404
/Resources/Prototypes/Entities/Structures/Specific/anomalies.yml @EmoGarbage404 @TheShuEd
/Resources/Prototypes/Research/ @EmoGarbage404
/Content.*/Anomaly/ @TheShuEd
/Resources/Prototypes/Entities/Structures/Specific/anomalies.yml @TheShuEd

/Content.*/Forensics/ @ficcialfaint

# SKREEEE
/Content.*.Database/ @PJB3005 @DrSmugleaf
/Content.Shared.Database/Log*.cs @PJB3005 @DrSmugleaf @Chief-Engineer
/Content.Shared.Database/Log*.cs @PJB3005 @DrSmugleaf @nikthechampiongr @crazybrain23
/Pow3r/ @PJB3005
/Content.Server/Power/Pow3r/ @PJB3005

# notafet
/Content.*/Atmos/ @Partmedia
/Content.*/Botany/ @Partmedia

#Jezi
# Jezi
/Content.*/Medical @Jezithyr
/Content.*/Body @Jezithyr

Expand Down
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
- changed-files:
- any-glob-to-any-file: '**/*.ftl'

"Изменения: Аудио":
- changed-files:
- any-glob-to-any-file: '**/*.ogg'

"Нет C#":
- changed-files:
# Equiv to any-glob-to-all as long as this has one matcher. If ALL changed files are not C# files, then apply label.
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/auto-locale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Update Locale

on:
push:
branches:
- master

permissions:
contents: write
pull-requests: read

jobs:
update-changelog:
runs-on: ubuntu-latest
if: github.repository == 'space-sunrise/space-station-14'

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
if: steps.get_pr.outputs.PR_NUMBER != ''
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install Dependencies
run: |
pip install pyyaml PyGithub pydash fluent
- name: Find Locale Keys
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: |
python ./Tools/_sunrise/keyfinder.py
echo "Script exited with code $?"
- name: Update Yaml Locale Keys
run: |
python ./Tools/_sunrise/yamlextractor.py
echo "Script exited with code $?"
- name: Git status before commit
if: steps.get_pr.outputs.PR_NUMBER != ''
run: |
git status
- name: Commit and push changes
if: steps.get_pr.outputs.PR_NUMBER != ''
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add "Resources/Locale/*"
if git diff --cached --quiet; then
echo "No changes to commit."
else
git commit -m "Update locale [skip ci]"
git push origin HEAD:Starlight
fi
4 changes: 2 additions & 2 deletions .github/workflows/build-map-renderer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

on:
push:
branches: [ master, staging, trying ]
branches: [ master, staging, stable ]
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
branches: [ master ]
branches: [ master, staging, stable ]

jobs:
build:
Expand Down
125 changes: 62 additions & 63 deletions .github/workflows/build-test-debug.yml
Original file line number Diff line number Diff line change
@@ -1,63 +1,62 @@
# Sunrise-edit - no need, stupid test.
#name: Build & Test Debug
#
#on:
# push:
# branches: [ master, staging, trying ]
# merge_group:
# pull_request:
# types: [ opened, reopened, synchronize, ready_for_review ]
# branches: [ master ]
#
#jobs:
# build:
# if: github.actor != 'GayBot' && github.event.pull_request.draft == false
# strategy:
# matrix:
# os: [ubuntu-latest]
#
# runs-on: ${{ matrix.os }}
#
# steps:
# - name: Checkout Master
# uses: actions/[email protected]
#
# - name: Setup Submodule
# run: |
# git submodule update --init --recursive
#
# - name: Pull engine updates
# uses: space-wizards/[email protected]
#
# - name: Update Engine Submodules
# run: |
# cd RobustToolbox/
# git submodule update --init --recursive
#
# - name: Setup .NET Core
# uses: actions/[email protected]
# with:
# dotnet-version: 8.0.x
#
# - name: Install dependencies
# run: dotnet restore
#
# - name: Build Project
# run: dotnet build --configuration DebugOpt --no-restore /p:WarningsAsErrors=nullable /m
#
# - name: Run Content.Tests
# run: dotnet test --no-build --configuration DebugOpt Content.Tests/Content.Tests.csproj -- NUnit.ConsoleOut=0
#
# - name: Run Content.IntegrationTests
# shell: pwsh
# run: |
# $env:DOTNET_gcServer=1
# dotnet test --no-build --configuration DebugOpt Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0 NUnit.MapWarningTo=Failed
# ci-success:
# name: Build & Test Debug
# needs:
# - build
# runs-on: ubuntu-latest
# steps:
# - name: CI succeeded
# run: exit 0
name: Build & Test Debug

on:
push:
branches: [ master ]
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
branches: [ master ]

jobs:
build:
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
strategy:
matrix:
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout Master
uses: actions/[email protected]

- name: Setup Submodule
run: |
git submodule update --init --recursive
- name: Pull engine updates
uses: space-wizards/[email protected]

- name: Update Engine Submodules
run: |
cd RobustToolbox/
git submodule update --init --recursive
- name: Setup .NET Core
uses: actions/[email protected]
with:
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore

- name: Build Project
run: dotnet build --configuration DebugOpt --no-restore /p:WarningsAsErrors=nullable /m

- name: Run Content.Tests
run: dotnet test --no-build --configuration DebugOpt Content.Tests/Content.Tests.csproj -- NUnit.ConsoleOut=0

- name: Run Content.IntegrationTests
shell: pwsh
run: |
$env:DOTNET_gcServer=1
dotnet test --no-build --configuration DebugOpt Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0 NUnit.MapWarningTo=Failed
ci-success:
name: Build & Test Debug
needs:
- build
runs-on: ubuntu-latest
steps:
- name: CI succeeded
run: exit 0
21 changes: 0 additions & 21 deletions .github/workflows/conflict-labeler.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/labeler-conflict.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check Merge Conflicts

on:
pull_request_target:
types:
- opened
- synchronize
- reopened
- ready_for_review

jobs:
Label:
if: ( github.event.pull_request.draft == false ) && ( github.actor != 'GayBot' )
runs-on: ubuntu-latest
steps:
- name: Check for Merge Conflicts
uses: eps1lon/[email protected]
with:
dirtyLabel: "S: Merge Conflict"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
23 changes: 23 additions & 0 deletions .github/workflows/labeler-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Labels: Approved"
on:
pull_request_review:
types: [submitted]
jobs:
add_label:
# Change the repository name after you've made sure the team name is correct for your fork!
if: ${{ (github.repository == 'space-wizards/space-station-14') && (github.event.review.state == 'APPROVED') }}
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: tspascoal/get-user-teams-membership@v3
id: checkUserMember
with:
username: ${{ github.actor }}
team: "content-maintainers,junior-maintainers"
GITHUB_TOKEN: ${{ secrets.LABELER_PAT }}
- if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }}
uses: actions-ecosystem/action-add-labels@v1
with:
labels: "S: Approved"
20 changes: 20 additions & 0 deletions .github/workflows/labeler-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Labels: Size"
on: pull_request_target
jobs:
size-label:
runs-on: ubuntu-latest
steps:
- name: size-label
uses: "pascalgn/[email protected]"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
# Custom size configuration
sizes: >
{
"0": "XS",
"10": "S",
"100": "M",
"1000": "L",
"5000": "XL"
}
16 changes: 16 additions & 0 deletions .github/workflows/labeler-stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Labels: Branch stable"

on:
pull_request_target:
types:
- opened
branches:
- 'stable'

jobs:
add_label:
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: "Branch: Stable"
Loading

0 comments on commit acc100a

Please sign in to comment.