Difference between revisions of "Gh workflow run"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* https://cli.github.com/manual/gh_workflow_run
 
* https://cli.github.com/manual/gh_workflow_run
 
  [[gh workflow]] run
 
  [[gh workflow]] run
 +
[[gh workflow run you_workflow_name]]
 +
[[gh workflow run you_workflow_name]] --ref your_branch_name
 +
 +
 +
  [[gh workflow run you_workflow_name]] --ref your_branch_name --field yourkey1=yourvalue1 --field yourkey2=yourvalue2
 +
 +
 +
== Examples ==
 +
  [[gh workflow run you_workflow_name]] --ref your_branch_name --field yourkey1=yourvalue1 --field yourkey2=yourvalue2
 +
✓ Created workflow_dispatch event for yourworkflow.yml at yourbranch
 +
To see runs for this workflow, try: [[gh run list --workflow]]=yourworkflow.yml
 +
 +
== Related ==
 +
* <code>[[gh workflow list]]</code>
 +
* <code>[[gh run list]]</code>
 +
* <code>[[workflow_dispatch]]</code>
 +
* [[gh actions]]
  
 
== See also ==
 
== See also ==
 +
* {{gh workflow}}
 
* {{gh}}
 
* {{gh}}
 +
 +
[[Category:GitHub]]

Latest revision as of 14:00, 25 January 2024

gh workflow run
gh workflow run you_workflow_name
gh workflow run you_workflow_name --ref your_branch_name


 gh workflow run you_workflow_name --ref your_branch_name --field yourkey1=yourvalue1 --field yourkey2=yourvalue2


Examples[edit]

 gh workflow run you_workflow_name --ref your_branch_name --field yourkey1=yourvalue1 --field yourkey2=yourvalue2
✓ Created workflow_dispatch event for yourworkflow.yml at yourbranch
To see runs for this workflow, try: gh run list --workflow=yourworkflow.yml

Related[edit]

See also[edit]

Advertising: