mercell/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
Maintainedlast commit May 20, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: mercell/workflow-dispatch@a304ec90d7cb793fb974c282eaecb9c0a5a7bddb # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
workflowName or ID of workflow to runyes
display-titleDisplay title to filter the target workflow runno
tokenGitHub token with repo write access, can NOT use secrets.GITHUB_TOKEN, see readmeyes
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
run-nameIf specified will select the run ID based on the run nameno
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
workflow-logsIndicate what to do with logs of the triggered workflow. `ignore` do not retrieve logs from tiggered workflow. `print` retrieves logs from triggered workflow and print in the workflow that triggered the other workflow. `output` retrieves logs from triggered workflow and set them as `workflow-logs` output. `json-output` retrieves logs from triggered workflow and return a json array groupped by job name.noignore
namedescription
workflow-conclusionConclusion of the triggered workflow
workflow-idID of the triggered workflow
workflow-urlURL of the triggered workflow
workflow-runs-foundNumber of workflow runs found (while searching for the triggered workflow run)
workflow-logsLogs of the triggered workflow. Based on `inputs.workflow-logs`, format is set to: - `output`: Multiline logs formatted as: '<job-name> | <datetime> <message>' - `json-output`: JSON logs formatted as: '{"<job-name>": [{"<datetime>": "<message>"}]'