Skip to main content
POST
Queue a CI job on a runner

Authorizations

Authorization
string
header
required

Your Styne API key: Authorization: Bearer $STYNE_API_KEY.

Body

application/json

Run a workflow of a repository the account's GitHub App installation covers, on a Styne runner. The workflow needs an on: workflow_dispatch trigger.

repo
string
required

The repository as owner/name.

workflow
string
required

The workflow file in .github/workflows (for example test.yml), or its numeric id.

ref
string

Branch or tag to run on; main when left out.

inputs
object

The workflow's workflow_dispatch inputs, name to string value (at most 25).

env
object

The same as inputs; both are merged, inputs win.

Response

Success. The answer is described on https://docs.styne.ai/ci.