levon-kechichian-kr/Trigger Workflow and Wait

This action triggers a workflow in another repository and waits for the result.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 9, 2022
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: levon-kechichian-kr/trigger-workflow-and-wait@ddd573c6e8393c2731e12614f28e82f9ca23ab31 # v1.1.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
ownerThe owner of the repository where the workflow is contained.yes
repoThe repository where the workflow is contained.yes
github_tokenThe Github access token with access to the repository. Its recommended you put it under secrets.yes
github_userThe name of the github user whose access token is being used to trigger the workflow.no
refThe reference of the workflow run. The reference can be a branch, tag, or a commit SHA. Default: mainno
wait_intervalThe number of seconds delay between checking for result of run.no
workflow_file_nameThe reference point. For example, you could use main.yml.yes
client_payloadPayload to pass to the workflow, must be a JSON stringno
propagate_failureFail current job if downstream job fails. default: trueno
trigger_workflowTrigger the specified workflow. default: trueno
wait_workflowWait for workflow to finish. default: trueno
last_workflow_intervalThe number of seconds delay between checking for the last workflow. default: 0no
last_workflow_timeoutThe number of seconds to wait to find the triggered workflow before exiting. default: 10no
namedescription
workflow_idThe ID of the workflow that was triggered by this action
workflow_urlThe URL of the workflow that was triggered by this action