Skip to content

Add support for alle worfklow_dispatch input types #553

@valentingregoire

Description

@valentingregoire

There are workflow_displatch input types that are not supported. According to the docs, we should be able to select more than just the provided types provided in the error. You can also find this in the reference that is provided in the official schema (see workflowDispatchInput.type).

This is the error I receive:

.github/workflows/some-file.yaml:10:15: invalid value "choice" for input type of workflow_call event. it must be one of "boolean", "number
", or "string" [syntax-check]
   |
10 |         type: choice
   |               ^~~~~~
.github/workflows/some-file.yaml:13:9: unexpected key "options" for "inputs at workflow_call event" section. expected one of "default", "d
escription", "required", "type" [syntax-check]
   |
13 |         options:
   |         ^~~~~~~~
------

As you can see, the options namespace should also be supported of course.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions