From 9092f1f2bc4149a68f23cb47ed4e8eef65e2a0d9 Mon Sep 17 00:00:00 2001 From: Milon Date: Sat, 28 Dec 2024 00:56:47 +0100 Subject: [PATCH] update github stuff --- .github/CODEOWNERS | 72 ++++++++++++++++++--------------------------- .github/labeler.yml | 38 +++++++++++++++++------- 2 files changed, 57 insertions(+), 53 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 179b7e45d89..c13a8b33ff0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,45 +1,31 @@ # Last match in file takes precedence. -# 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/ @nikthechampiongr -/Content.*/Administration/ @DrSmugleaf @nikthechampiongr -/Resources/ServerInfo/ @nikthechampiongr -/Resources/ServerInfo/Guidebook/ServerRules/ @nikthechampiongr - -/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 @nikthechampiongr -/Content.*/Body/ @DrSmugleaf -/Content.YAMLLinter @DrSmugleaf -/Content.Shared/Damage/ @DrSmugleaf - -/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 @nikthechampiongr -/Pow3r/ @PJB3005 -/Content.Server/Power/Pow3r/ @PJB3005 - -# notafet -/Content.*/Atmos/ @Partmedia -/Content.*/Botany/ @Partmedia - -# Jezi -/Content.*/Medical @Jezithyr -/Content.*/Body @Jezithyr - -# Sloth -/Content.*/Audio @metalgearsloth -/Content.*/Movement @metalgearsloth -/Content.*/NPC @metalgearsloth -/Content.*/Shuttles @metalgearsloth -/Content.*/Weapons @metalgearsloth +# C# code +/Content.*/ @emberfall-14/maintainers + +# Any assets +/Resources/ @emberfall-14/maintainers + +# Server config files +/Resources/ConfigPresets/ @MilonPL + +# YML files +/Resources/*.yml @emberfall-14/yaml-maintainers +/Resources/**/*.yml @emberfall-14/yaml-maintainers + +# Maps +/Resources/Maps/ @emberfall-14/maptainers +/Resources/Prototypes/Maps/ @emberfall-14/maptainers +/Content.IntegrationTests/Tests/PostMapInitTest.cs @emberfall-14/maptainers + +# Server rules +/Resources/ServerInfo/Guidebook/DeltaV/Rules/ @MilonPL + +# Tools and scripts +/Tools/ @MilonPL + +# Workflows, codeowners, templates, etc. +/.github/ @MilonPL + +# Standalone files in the root repo +/* @MilonPL diff --git a/.github/labeler.yml b/.github/labeler.yml index ca5aeed1f3c..54417b7cb6e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,16 +1,39 @@ -"Changes: Sprites": +"Changes: C#": - changed-files: - - any-glob-to-any-file: '**/*.rsi/*.png' + - any-glob-to-any-file: "**/*.cs" + +"Changes: Documentation": +- changed-files: + - any-glob-to-any-file: + - "**/*.xml" + - "**/*.md" + +"Changes: Localization": +- changed-files: + - any-glob-to-any-file: + - 'Resources/Locale/**/*.ftl' "Changes: Map": - changed-files: - any-glob-to-any-file: - - 'Resources/Maps/**/*.yml' - - 'Resources/Prototypes/Maps/**/*.yml' + - "Resources/Maps/**/*.yml" + - "Resources/Prototypes/Maps/**/*.yml" + +"Changes: Sprite": +- changed-files: + - any-glob-to-any-file: + - "**/*.rsi/*.png" + - "**/*.rsi/*.json" "Changes: UI": - changed-files: - - any-glob-to-any-file: '**/*.xaml*' + - any-glob-to-any-file: + - "**/*.xaml*" + +"Changes: YML": +- changed-files: + - any-glob-to-any-file: + - "**/*.yml" "Changes: Shaders": - changed-files: @@ -19,8 +42,3 @@ "Changes: Audio": - changed-files: - any-glob-to-any-file: '**/*.ogg' - -"Changes: No 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. - - all-globs-to-all-files: "!**/*.cs"