You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am in the process of migrating our pipelines from ADO to GH. After doing some dry-runs I encountered an issue. This is a part of the ADO-yaml:
parameters:
- name: Env
type: string
default: prod #can pass multiple values separated by a comma.
values:
- dev
- int
- prod
And this is the result from the github actions-importer:
on:
workflow_dispatch:
inputs:
Env:
default: prod
type: string
required: false
At first, I thought it wouldn't be possible to have a list of options but I found this article describing inputs to a manual trigger. To my understanding, the correct parsing would be as follows:
on:
workflow_dispatch:
inputs:
Env:
default: prod
required: false
type: choice
options:
- dev
- int
- prod
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am in the process of migrating our pipelines from ADO to GH. After doing some dry-runs I encountered an issue. This is a part of the ADO-
yaml
:And this is the result from the
github actions-importer
:At first, I thought it wouldn't be possible to have a list of options but I found this article describing inputs to a manual trigger. To my understanding, the correct parsing would be as follows:
Am I wrong or does it need fixing?
best regards
Beta Was this translation helpful? Give feedback.
All reactions