com.publicdomainrelay.temp.tangled.spindle.trigger
Manually trigger a pipeline run on a Tangled spindle. Intended to be called via PDS service proxying (the 'atproto-proxy' header, pointed at the spindle's did:web service entry), so the user's PDS mints and signs the inter-service auth token; the spindle verifies the token's issuer against their DID document and requires it to match the trigger's 'actor'. Mirrors the sh.tangled.pipeline fields a knot dispatches on a push/PR event.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | spindle.tangled.temp.publicdomainrelay.com |
| Indexed |
Procedure
procedure · POSTInput
application/jsonDID of the actor the run is attributed to. Must equal the issuer of the service-auth token.
inputs
unknownOptional workflow_dispatch-style inputs, as a map of string keys to string values.
Knot hostname that hosts the repo, e.g. knot1.tangled.sh.
Record key identifying this pipeline run; only needs to be unique per run.
Commit SHA to run at. The spindle fetches .github/workflows/*.yml at this exact commit, so it must be a real commit, not a branch name.
DID of the repo (the owner DID used for sh.tangled.repo.blob lookups).
Human-readable repo name, e.g. myrepo.
Output
application/jsonTrue once the trigger was accepted and workflow submission started.
The workflow stems that were submitted, with their log/status stream URLs.
Errors
InvalidRequest
Malformed body or missing required fields.
Unauthorized
Missing or invalid inter-service auth token.
Forbidden
Token issuer does not match actor, or repo is not authorized for this spindle.
#workflowResult
objectSimilar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
org.tangled.ci.triggerPipeline
procedureTrigger a pipeline at an explicit commit. Runs the named workflows, or every workflow defined in the repo when none are named.