Skip to content

This page lists the inputs and outputs of the GitHub Action alternayte/sluice. Start a flow on a Sluice server, stream its logs, and fail the job when the flow does not succeed.

Input Required Default Description
url yes empty Base URL of the Sluice server, for example https://sluice.example.com.
token yes empty Sluice API token with at least the operator role. Store it as a repository secret.
flow yes empty Flow to run, as <namespace>/<flow>.
inputs no empty Flow inputs, one key=value per line. A JSON value keeps its type (7, true, {“a”:1}).
labels no empty Execution labels, one key=value per line.
timeout no empty Stop waiting after this duration, for example 30m. The job then fails with exit code 14, and the execution continues. Empty waits until the end.
version no empty Release tag of the sluice CLI, for example v0.2.0. Empty uses the tag of this action, or the newest release when the action ref is not a tag.
Output Description
execution-id ID of the execution.
state State of the execution, for example SUCCESS or FAILED. Empty when the run did not start.
url URL of the execution page.

The step fails with the exit code of sluice run --wait. Exit codes lists them. Run flows from GitHub Actions shows a workflow.