From 5e36b1a47e625724389c81eb78978c9fab70b587 Mon Sep 17 00:00:00 2001 From: casswedson <58050969+casswedson@users.noreply.github.com> Date: Tue, 25 Oct 2022 18:48:06 -0500 Subject: [PATCH] auto labeler maintenance (#61904) 1. and the main reason to make this pr https://discord.com/channels/598523535169945603/598535827169083403/1034224363861450812 your wish is my command; don't label changes to the spell checker dictionary file as `Code: Tooling` 2. make most keyword searches use `'**keyword**'` instead on some variant of the previous but with a `/` somewhere, something something not very tidy 3. make directory searches actual directory searches `data/mods/Aftershock/**/*` would mean directories inside the afs directory, just use `bla/Aftershock/**` Co-authored-by: casswedson --- .github/labeler.yml | 174 ++++++++++++++++++++++---------------------- 1 file changed, 85 insertions(+), 89 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 4174d04cf4339..30f196ad51059 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -9,36 +9,35 @@ - "**/*.md" "Game: Achievements / Conducts / Scores": - - "**/scores**" - - "**/statistics**" - - "**/achievements**" - - "**/conducts**" - - "**/event_statistics.*" + - "**scores**" + - "**statistics**" + - "**achievements**" + - "**conducts**" "[Python]": - "**/*.py" "": - "**/*.md" - - doc/**/* - - doxygen_doc/**/* + - "doc/**" + - "doxygen_doc/**" "Code: Tooling": - - tools/**/* - - .github/**/* - - utilities/**/* + - ".github/**" + - "utilities/**" + - any: ['tools/**', '!tools/spell_checker/dictionary.txt'] "Code: Tests": - - tests/**/* - - data/mods/TEST_DATA/**/* + - "tests/**" + - "data/mods/TEST_DATA/**" "Character / World Generation": - - src/newcharacter.cpp + - "src/newcharacter.cpp" - "**/worldfactory.*" "Code: Build": - - build-data/**/* - - build-scripts/**/* + - "build-data/**" + - "build-scripts/**" - "**/Makefile" - "**/CMakeLists.txt" - "**/*.cmake" @@ -50,180 +49,177 @@ - .lgtm.yml "Crafting / Construction / Recipes": - - "**/recipes/**/*" - - data/json/construction.json - - data/json/construction_category.json - - data/json/construction_group.json - - data/json/deconstruction.json + - "**recipes**" + - "**construction**" "EOC: Effects On Condition": - - "**/**effect_on_condition**" - - "**/**eocs**" + - "**effect_on_condition**" + - "**eocs**" "Fields / Furniture / Terrain / Traps": - - "**/furniture**" + - "**furniture**" "Items: Food / Vitamins": - - "**/food**" - - "**/comestibles**" + - "**food**" + - "**comestibles**" "NPC / Factions": - - "**/**npc**/**/*" + - "**npc**" "Melee": - - "**/melee**" - - "**/**techniques**" + - "**melee**" + - "**techniques**" "Missions": - - "**/**mission**" + - "**mission**" "Info / User Interface": - - "**/ui/**/*" + - "**ui**" - "src/**ui**" - - "**/widget/**/*" + - "**widget**" - "src/list_view.*" - "src/surroundings_menu.*" "Items: Archery": - - "**/**archery**" - - "**/**crossbows**" + - "**archery**" + - "**crossbows**" "Items: Armor / Clothing": - - "**/armor/**/*" + - "**armor**" "Items: Battery / UPS": - - "**/battery**" + - "**battery**" "Items: Containers": - - "**/**containers**" - - "**/**storage**" - - "**/**sheath**" - - "**/**holster**" - - "**/**ammo_pouch**" - - "**/**bandolier**" + - "**containers**" + - "**storage**" + - "**sheath**" + - "**holster**" + - "**ammo_pouch**" + - "**bandolier**" - "src/item_pocket.*" - "src/item_contents.*" - "tests/item_pocket_test.*" "Items: Magazines": - - "**/magazine/**/*" + - "**magazine**" "Appliance/Power Grid": - - "**/appliance**" + - "**appliance**" "Monsters": - - "**/monsters/**/*" + - "**monster**" "Mutations / Traits / Professions/ Hobbies": - - "**/professions.json" - - "**mutations**" + - "**professions.json" + - "**mutation**" - "**hobbies**" "Lore": - data/json/npcs/BG_trait_groups.json - data/json/npcs/Personality_trait_groups.json - data/json/npcs/personality_traits.json - - "**/Backgrounds/**/*" - - "**/snippets/**/*" + - "**Backgrounds**" + - "**snippets**" "Limbs": - "src/bodypart.*" - "data/json/limb_scores.json" "Spawn": - - "**/itemgroups/**/*" - - "**/monstergroups/**/*" + - "**itemgroups**" + - "**monstergroups**" "Bionics": - - "**/bionics.*" + - "**bionics**" "Map / Mapgen": - - "**/mapgen/**/*" - - "**/mapgen_palettes/**/*" - - "**/overmap/**/*" - - "**/overmap**" + - "**mapgen**" + - "**mapgen_palettes**" + - "**overmap**" + - "**overmap**" "Martial Arts": - - "**/martialarts**" + - "**martialarts**" "Player Faction Base / Camp": - - "src/basecamp.*" + - "**basecamp**" - "src/faction_camp.*" - - data/json/mapgen/basecamps/**/* + - data/json/mapgen/basecamps/** "Items: Ammo / Guns": - - "**/gun/**/*" - - "**/ammo/**/*" + - "**gun**" + - "**ammo**" "Items: Gunmod / Toolmod": - - "**/gunmod**" - - "**/toolmod**" + - "**gunmod**" + - "**toolmod**" "SDL: Tiles / Sound": - - gfx/**/* - - sound/**/* + - gfx/** + - sound/** "Scenarios": - - "**/scenario**" - - "**/**start_location**" + - "**scenario**" + - "**start_location**" "Translation": - - lang/**/* - - "src/translation.*" + - lang/** + - "**translation**" "Mods: Aftershock": - - data/mods/Aftershock/**/* - - data/mods/aftershock_exoplanet/**/* + - data/mods/Aftershock/** + - data/mods/aftershock_exoplanet/** "Mods: Dark Days of the Dead": - - data/mods/classic_zombies/**/* + - data/mods/classic_zombies/** "Mods: Dark Skies": - - data/mods/Dark-Skies-Above/**/* + - data/mods/Dark-Skies-Above/** "Mods: Desert Region": - - data/mods/desert_region/**/* + - data/mods/desert_region/** "Mods: DinoMod": - - data/mods/DinoMod/**/* + - data/mods/DinoMod/** "Mods: Generic Guns": - - data/mods/Generic_Guns/**/* + - data/mods/Generic_Guns/** "Mods: MA": - - data/mods/MA/**/* + - data/mods/MA/** "Mods: MMA": - - data/mods/MMA/**/* + - data/mods/MMA/** "Mods: Magiclysm": - - data/mods/Magiclysm/**/* + - data/mods/Magiclysm/** "Mods: Innawood 🌲": - - data/mods/innawood/**/* + - data/mods/innawood/** "Mods: No Hope": - - data/mods/No_Hope/**/* + - data/mods/No_Hope/** "Mods: TropiCataclysm 🌴": - - data/mods/TropiCataclysm/**/* + - data/mods/TropiCataclysm/** "Mods: Tamable Wildlife": - - data/mods/Tamable_Wildlife/**/* + - data/mods/Tamable_Wildlife/** "Mods: Xedra Evolved": - - data/mods/Xedra_Evolved/**/* + - data/mods/Xedra_Evolved/** "Mods": - - any: [ 'data/mods/**/*' ] - all: [ '!data/mods/TEST_DATA/**/*' ] + - any: [ 'data/mods/**' ] + all: [ '!data/mods/TEST_DATA/**' ] "Mechanics: Enchantments / Spells": - - "**/enchantments**" - - "**/spells**" + - "**enchantments**" + - "**spells**" "Mechanics: Weather": - - "**/weather**" + - "**weather**" "Vehicles": - - "**/vehicle**" + - "**vehicle**"