Skip to content

Example inputs context for GitHub Actions workflow_dispatch article is invalid #24070

Description

@sayhiben

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/learn-github-actions/contexts#inputs-context

What part(s) of the article would you like to see updated?

The section labeled "Example usage of the inputs context in a manually triggered workflow" contains an example of the workflow_dispatch trigger. In this example, the workflow_dispatch event has an input of type number.

However, according to the schema, actual behavior, and syntax documentation, on.workflow_dispatch.inputs.<input-name>.type does not allow for the type number.

Please correct this example, as it has caused us rework and deployment issues.

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionsThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions