medlypharmacy/Workflow Dispatch and wait

Trigger and chain GitHub Actions workflows with workflow_dispatch events and wait for result

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Apr 19, 2022
License
None
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: medlypharmacy/workflow-dispatch-trigger-and-wait@20176e06aafdf1e850653f04af5544670d0447dd # v1.0.6

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

namedescriptionrequireddefault
workflowName or ID of workflow to runyes
tokenGitHub token with repo write access, can NOT use secrets.GITHUB_TOKEN, see readmeyes
repo-nameRepository Name which invokes another workflow. Always set its value to be github.repositoryyes
actor-nameName of the user who want to trigger workflow. Always set its value to be github.actoryes
ref-nameThe pull request that triggered this workflow. Always set its value to be github.refyes
head-ref-nameThe name of the head branch. Always set its value to be github.head_refyes
base-ref-nameThe name of the base branch. Always set its value to be github.base_refyes
inputsInputs to pass to the workflow, must be a JSON string. All values must be strings (even if used as boolean or number)no
refThe reference of the workflow run. The reference can be a branch, tag, or a commit SHAno
repoRepo owner & name, slash separated, only set if invoking a workflow in a different repono
display-workflow-run-urlGet the URL of the triggered workflow and display it in logs (useful to follow the progress of the triggered workflow)notrue
display-workflow-run-url-intervalThe time to wait (+unit) between two polls to get the URL of the workflow runno1m
display-workflow-run-url-timeoutMaximum amount of time (+unit) to wait for the URL of the workflow run. If the timeout is reached, it is just ignoredno10m
wait-for-completionBlock until the triggered workflow has finishednotrue
wait-for-completion-timeoutMaximum amount of time (+unit) to wait to mark workflow as timed outno1h
wait-for-completion-intervalTime to wait (+unit) between two polls to get run statusno1m

no outputs