-
Notifications
You must be signed in to change notification settings - Fork 110
Checkbox for Boolean inputs when triggering workflow_dispatch
#190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm unclear on what the issue is here, any chance you could take a screenshot? |
I activated "Publish Extension" using the button in the view on the left. It asked for a ref (for which I used the default), then asked for the # Workflow File
name: Publish Extension
on:
workflow_dispatch:
inputs:
preRelease:
type: boolean
required: true
default: false
continueOnTagErr:
type: boolean
required: false
default: false
# ... # Error when using invalid input value.
Could not create workflow dispatch: Provided value 'falseeeeeeeee' for input 'preRelease' not in the list of allowed values |
I see, this is very helpful. Moving over to triage so we can address! Thank you! |
As I was looking at the extensions api, perhaps a better option is to use a QuickPick with true and false as the only options. |
I think it will be better to have a way to select options instead of typing. I think true / false is just one of them. |
Is your feature request related to a problem? Please describe.
When triggering a workflow via the view in vscode, the extension asks for input values. Currently, it generates an error when giving a string that is not
true
orfalse
for boolean inputs.Describe the solution you'd like
Use a checkbox input instead of a string input when asking vscode user for input.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: