From 9b7bc29dd52d8fbbcd6788cf41814d5a83b3034a Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Thu, 21 Nov 2024 14:11:06 +0300 Subject: [PATCH] Update Sync labels CI: use inputs instead list --- .github/workflows/sync_labels.yml | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync_labels.yml b/.github/workflows/sync_labels.yml index b3be1ba..8b28643 100644 --- a/.github/workflows/sync_labels.yml +++ b/.github/workflows/sync_labels.yml @@ -2,6 +2,28 @@ name: Sync labels on: workflow_dispatch: + inputs: + repository: + description: 'Repository' + required: true + type: choice + options: + - rehlds/.github + - rehlds/rehlds.github.io + - rehlds/ReHLDS + - rehlds/ReGameDLL_CS + - rehlds/ReAPI + - rehlds/Metamod-R + - rehlds/ReVoice + - rehlds/ReUnion + - rehlds/ReSemiclip + - rehlds/ReFreeLook + - rehlds/ReChecker + # Archieved + - rehlds/relocalizebugfix + - rehlds/reamxmodx + - rehlds/hitboxtracker + - rehlds/metamod-r.org jobs: build: @@ -12,7 +34,5 @@ jobs: with: manifest: .github/labels.yml repository: | - rehlds/.github - rehlds/relocalizebugfix - rehlds/resemiclip + ${{ inputs.repository }} token: ${{ secrets.REHLDS_LABELS_PAT }}