Difference between revisions of "Gh workflow run your-workflow-name"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
(https://api.github.com/repos/your_org/your_repo/actions/workflows/1234567/dispatches) | (https://api.github.com/repos/your_org/your_repo/actions/workflows/1234567/dispatches) | ||
− | gh workflow run you_workflow_name --ref your_branch_name | + | To run from a different branch: |
− | + | [[gh workflow run you_workflow_name --ref]] [[your_branch_name]] | |
== Related == | == Related == | ||
Line 14: | Line 14: | ||
== See also == | == See also == | ||
* {{gh workflow}} | * {{gh workflow}} | ||
− | |||
[[Category:GitHub]] | [[Category:GitHub]] |
Latest revision as of 07:55, 17 May 2023
gh workflow run you_workflow_name could not create workflow dispatch event: HTTP 422: Workflow does not have 'workflow_dispatch' trigger (https://api.github.com/repos/your_org/your_repo/actions/workflows/1234567/dispatches)
To run from a different branch:
gh workflow run you_workflow_name --ref your_branch_name
Related[edit]
See also[edit]
gh workflow
[run
|view
|list
]
Advertising: