Show a workflow's YAML definition
Prints the YAML file of the workflow, identified by its ID, name or file name.
gh workflow view workflow --yamlEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/gh-workflow.md), licensed under CC BY 4.0.