gh workflow run <[<workflow-id> | <workflow-name>]>
Run a workflow by creating a workflow_dispatch event
Arguments
Name | Description |
---|
[<workflow-id> | <workflow-name>] | |
Options
Name | Description |
---|
--repo, -R <[HOST/]OWNER/REPO> | Select another repository |
-F, --field <key=value> | Add a string parameter in key=value format, respecting @ syntax |
--json | Read workflow inputs as JSON via STDIN |
-f, --raw-field <key=value> | Add a string parameter in key=value format |
-r, --ref <string> | The branch or tag name which contains the version of the workflow file you'd like to run |