Skip to content

Commit dd0cfd2

Browse files
committed
Say options is valid only for choice inputs
1 parent be3b5ee commit dd0cfd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎content/actions/reference/workflows-and-actions/workflow-syntax.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ The default value used when the input is not specified when the workflow is trig
347347

348348
## `on.workflow_dispatch.inputs.<input_id>.options`
349349

350-
A sequence of strings that sets the options of the dropdown list. A dropdown list is only shown for inputs with `type: choice`; `options` is ignored for all other input types.
350+
A sequence of strings that sets the options of the dropdown list for an input with `type: choice`. `options` is valid only for `choice` inputs: a workflow that defines `options` on an input of any other type is invalid and fails to run.
351351

352352
## `permissions`
353353

0 commit comments

Comments
 (0)