gh workflow

List, view, and run GitHub Actions workflows. More information: https://cli.github.com/manual/gh_workflow.

gh workflow view

gh workflow view {{id|workflow_name|filename.yml}} --web

gh workflow view {{id|workflow_name|filename.yml}} --yaml

gh workflow view {{id|workflow_name|filename.yml}} --ref {{branch|tag_name}} --yaml

gh workflow list

gh workflow run {{id|workflow_name|filename.yml}} {{--raw-field param1=value1 --raw-field param2=value2 ...}}

echo '{{{"param1": "value1", "param2": "value2", ...}}}' | gh workflow run {{id|workflow_name|filename.yml}} --ref {{branch|tag_name}}

gh workflow {{enable|disable}} {{id|workflow_name|filename.yml}}