Update Sync labels CI: use inputs instead list

This commit is contained in:
Sergey Shorokhov 2024-11-21 14:11:06 +03:00
parent 2847d3be85
commit 9b7bc29dd5

View File

@ -2,6 +2,28 @@ name: Sync labels
on: on:
workflow_dispatch: 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: jobs:
build: build:
@ -12,7 +34,5 @@ jobs:
with: with:
manifest: .github/labels.yml manifest: .github/labels.yml
repository: | repository: |
rehlds/.github ${{ inputs.repository }}
rehlds/relocalizebugfix
rehlds/resemiclip
token: ${{ secrets.REHLDS_LABELS_PAT }} token: ${{ secrets.REHLDS_LABELS_PAT }}