Difference between revisions of "Gh workflow run your-workflow-name"

From wikieduonline
Jump to navigation Jump to search
 
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 ==

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]

Advertising: