Difference between revisions of "Gh workflow run"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
   [[gh workflow run you_workflow_name]] --ref your_branch_name --field yourkey1=yourvalue1 --field yourkey2=yourvalue2
 
   [[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 plan-rolebased.yml at yourbranch
 
  ✓ Created workflow_dispatch event for plan-rolebased.yml at yourbranch
 
  To see runs for this workflow, try: gh run list --workflow=plan-rolebased.yml
 
  To see runs for this workflow, try: gh run list --workflow=plan-rolebased.yml

Revision as of 11:38, 19 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

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

Related

See also

Advertising: