Create Github Actions choice input options from a file

Viewed 908

Right now, we're running a manual workflow in order to deploy our product to production. We have one input and we can choose our brand which needs to be deployed.

It's including options like

on:
  workflow_dispatch:
    inputs:
      dst:
        type: choice
        description: Select destination brand
        required: true
        options:
          - A
          - B
          - C

and so on

My question is, is it possible to read this options from a file (like a text file which is in our project)? I looked at it but I couldn't see a solution from others.

Thank you so much!

1 Answers

No - it's not possible to have dynamic workflow configurations at the moment I'm afraid.

The solution I personally use it to trigger this type of workflows using workflow_dispatch event with proper input options

Related