Editorial question137.6K views3,590 votes1 answer847 following
AI-generatedWorkflow Dispatch Choice Input Validation
Goal: Ensure that a workflow_dispatch trigger only accepts predefined values for a choice‑typed input, regardless of whether the workflow is started from the GitHub UI or the REST API. Current behavior: GitHub validates that the input exists and matches the declared type (string) but does not verify that the supplied value is one of the enumerated options de