From 615ac63b7aa8170612176a0f7c01d2a5dff43df9 Mon Sep 17 00:00:00 2001 From: mq <113324899+mqole@users.noreply.github.com> Date: Sat, 21 Mar 2026 22:22:02 +1100 Subject: [PATCH 1/3] labeler v5 --- .github/workflows/labeler-pr.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/labeler-pr.yml b/.github/workflows/labeler-pr.yml index 1b87e65552..433bba2c0a 100644 --- a/.github/workflows/labeler-pr.yml +++ b/.github/workflows/labeler-pr.yml @@ -5,8 +5,9 @@ on: jobs: labeler: + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file + - uses: actions/labeler@v5 From e5c25c6d7a07f72c4d50febc4efbc194a58c94c2 Mon Sep 17 00:00:00 2001 From: mq <113324899+mqole@users.noreply.github.com> Date: Sat, 21 Mar 2026 22:26:42 +1100 Subject: [PATCH 2/3] i hope this works --- .github/labeler.yml | 42 ++++++++++++------------------------------ 1 file changed, 12 insertions(+), 30 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 7c6022c03d..a7d6d1b36c 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,39 +1,21 @@ "English": -- 'src/en/**' +- changed-files: + - any-glob-to-any-file: 'src/en/**' "Russian": -- 'src/ru/**' +- changed-files: + - any-glob-to-any-file: 'src/ru/**' "Ukrainian": -- 'src/ua/**' +- changed-files: + - any-glob-to-any-file: 'src/ua/**' "Scripts": -- 'scripts/**' +- changed-files: + - any-glob-to-any-file: 'scripts/**' -# I have tried making this robust (tm) using wildcards so many times but github docs for the labeler SUUUUCK. If you got time to figure it out please do it I give up. -# Welcome to the mega labeler. "Design": -# General design -- 'src/en/space-station-14/accessibility/proposals/**' -- 'src/en/space-station-14/admin-tools/proposals/**' -- 'src/en/space-station-14/art/proposals/**' -- 'src/en/space-station-14/character-species/proposals/**' -- 'src/en/space-station-14/combat/proposals/**' -- 'src/en/space-station-14/mapping/proposals/**' -- 'src/en/space-station-14/player-interaction/proposals/**' -- 'src/en/space-station-14/roleplay-lore/proposals/**' -- 'src/en/space-station-14/round-flow/proposals/**' -- 'src/en/space-station-14/user-interface/proposals/**' - -# Department design -- 'src/en/space-station-14/departments/atmos/proposals/**' -- 'src/en/space-station-14/departments/cargo-salvage/proposals/**' -- 'src/en/space-station-14/departments/command/proposals/**' -- 'src/en/space-station-14/departments/engineering/proposals/**' -- 'src/en/space-station-14/departments/medical/proposals/**' -- 'src/en/space-station-14/departments/science/proposals/**' -- 'src/en/space-station-14/departments/security/proposals/**' -- 'src/en/space-station-14/departments/service/proposals/**' - -# General proposals -- 'src/en/general-proposals/**' +- changed-files: + - any-glob-to-any-file: + - 'src/en/general-proposals/**' + - 'src/en/**/proposals/**' From 386a48140fa8aba7e0827690010e08ca42ad2350 Mon Sep 17 00:00:00 2001 From: mq <113324899+mqole@users.noreply.github.com> Date: Sat, 21 Mar 2026 22:30:26 +1100 Subject: [PATCH 3/3] my fucking newline