Support "multi-choice" input type for manual workflows
See original GitHub issueDescribe 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
Issue Analytics
- State:
- Created a year ago
- Reactions:285
- Comments:108 (1 by maintainers)
Top Results From Across the Web
GitHub Actions: Input types for manual workflows
In addition to the default string type, we now support choice , boolean , and environment . name: Mixed inputs on: workflow_dispatch: inputs: ......
Read more >How to provide multiple inputs for a manually triggered ...
So workflow_dispatch events actually support 3 input types; choice , environment , boolean . I don't think you'll be able to pass inputs...
Read more >Add Inputs to GitHub Actions Workflows - YouTube
In this GitHub Actions Tutorial, we'll walk through how to add user inputs to workflow_dispatch triggers in your GitHub Actions workflow so ...
Read more >Manually Trigger GitHub Actions Workflows
You can define input types that allow you to select from a constrained set of pre-defined options. This is particularly helpful for things...
Read more >Configuring Manual Triggers In GitHub Actions With ` ...
Inputs allow you to provide additional data to your workflow when you trigger it manually. For example, you may want to provide a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey everyone, this is not really a runner issue ☺️. We have communicated this issue to the correct team, but I will leave it open because it gained so much attention ☺️
Also it would be nice to have a option to take user inputs as one of the multi-choice.