runner icon indicating copy to clipboard operation
runner copied to clipboard

Support "multi-choice" input type for manual workflows

Open DpoBoceka opened this issue 2 years ago • 260 comments

Describe the enhancement Current set of input types doesn't cover some use-cases for manual workflows

We use a single gh-action as an entrypoint of deploying packages from our monorepo, and sometimes we need to manually deploy several packages simultaneously. Up until now we just went with a set of Booleans, so we could tick all the packages we needed to run our CI/CD against via UI. However, we speedily reached a limit of 10 input values

Introducing an input type that would store a, say, json array could help:

on:
  workflow_dispatch:
    inputs:
      name:
        type: multi-choice
        description: select packages
        options: 
        - go-service1
        - go-service2
        - py-service1

...and in fact would be more logical with less copy-paste overhead for our use-case

DpoBoceka avatar Aug 22 '22 21:08 DpoBoceka

I run into the same problem. We want to select multiple schemes to build for our iOS App but we have way more than 10 schemes. It would be definitely a helpful feature. Otherwise, you have to work with the string input type, which can lead to input errors.

MaikGudi avatar Nov 15 '22 11:11 MaikGudi

+1

Ido-Ozeri avatar Dec 04 '22 20:12 Ido-Ozeri

+1

BondLi1 avatar Dec 05 '22 02:12 BondLi1

+1

paul-gladoon avatar Dec 06 '22 11:12 paul-gladoon

+1

kaira avatar Dec 07 '22 10:12 kaira

+1

mato1411 avatar Dec 08 '22 22:12 mato1411

+1

MatanHeledPort avatar Dec 12 '22 11:12 MatanHeledPort

+1

danielsinai avatar Dec 12 '22 11:12 danielsinai

+1

mirzaeiyan avatar Dec 13 '22 16:12 mirzaeiyan

+1

kc-mzb avatar Jan 09 '23 16:01 kc-mzb

+1

Dimitris-Mil avatar Jan 13 '23 13:01 Dimitris-Mil

+1

I would be really great feature to have since many use cases are there.

priyanthabuddhika avatar Jan 19 '23 15:01 priyanthabuddhika

+1

joshua-reddish avatar Jan 26 '23 16:01 joshua-reddish

+1

vincda avatar Jan 27 '23 11:01 vincda

+1

patriziobrunops avatar Jan 27 '23 16:01 patriziobrunops

+1

japseabery avatar Jan 31 '23 11:01 japseabery

+1 I want to use this feature to pass dynamic matrix strategy for manual workflows.

chillybug avatar Jan 31 '23 23:01 chillybug

+1

paulspiegel avatar Feb 02 '23 14:02 paulspiegel

+1

jwilson232 avatar Feb 02 '23 15:02 jwilson232

+1

dcruzrinkel avatar Feb 03 '23 08:02 dcruzrinkel

+1

vbotay avatar Feb 03 '23 13:02 vbotay

+1

pearlberry avatar Feb 03 '23 22:02 pearlberry

+1

djoshi0 avatar Feb 08 '23 02:02 djoshi0

+1

gheorghesava-mck avatar Feb 08 '23 07:02 gheorghesava-mck

+1

galz-cyera avatar Feb 09 '23 12:02 galz-cyera

+1

monsma avatar Feb 09 '23 14:02 monsma

+1

n-tangufor avatar Feb 14 '23 17:02 n-tangufor

+1

NP-compete avatar Feb 15 '23 13:02 NP-compete

+1

rgildein avatar Feb 20 '23 15:02 rgildein