Can workflow_dispatch input be option list?

I would like to have dropdown list of input values:

on:
  workflow_dispatch:
    inputs:
      project:
        description: 'Environment'
        required: true
        options: ['production', 'staging', 'development']
        default: 'development'

Like selecting a branch:

4 Likes

Hi @kestutisg,

Glad to see you in Github Community Forum! :grinning:

Currently option input list is not supported for workflow_dispatch event, there is no such option in rest api parameters.

It’s recommended to raise a feature request ticket in below link where github product manager will take a review.
https://support.github.com/contact/feedback?contact[category]=actions

Thanks

1 Like